diff --git a/libofs/CMakeLists.txt b/libofs/CMakeLists.txt index 686ebee7aaae..40f0b03091a2 100644 --- a/libofs/CMakeLists.txt +++ b/libofs/CMakeLists.txt @@ -23,6 +23,7 @@ ## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ## POSSIBILITY OF SUCH DAMAGE. + set(src ofs_primitives.c ) @@ -43,5 +44,4 @@ target_include_directories(ofs target_link_libraries(ofs rt ) -set_property(TARGET ofs PROPERTY C_STANDARD 11) - +set_property(TARGET ofs PROPERTY C_STANDARD 11) \ No newline at end of file diff --git a/libofs/ofs_primitives.c b/libofs/ofs_primitives.c index 38abbf39683a..978918bf9ca1 100644 --- a/libofs/ofs_primitives.c +++ b/libofs/ofs_primitives.c @@ -23,5 +23,5 @@ // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -#include +#include \ No newline at end of file diff --git a/tests/libofs/CMakeLists.txt b/tests/libofs/CMakeLists.txt index 78db772aa5b3..a5986b66335b 100644 --- a/tests/libofs/CMakeLists.txt +++ b/tests/libofs/CMakeLists.txt @@ -23,10 +23,9 @@ ## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ## POSSIBILITY OF SUCH DAMAGE. + opae_test_add( TARGET test_libofs SOURCE test_libofs.cpp LIBS ofs -) - - +) \ No newline at end of file diff --git a/tests/libofs/test_libofs.cpp b/tests/libofs/test_libofs.cpp index 458dadb8ae67..7a4c90f79405 100644 --- a/tests/libofs/test_libofs.cpp +++ b/tests/libofs/test_libofs.cpp @@ -23,6 +23,7 @@ // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. + #include #include #include @@ -155,4 +156,4 @@ TEST(libofs, wait_for_eq_timeout) delta_usec = wait_test(ofs_wait_for_eq64, false, modify_usec, timeout_usec); EXPECT_GE(delta_usec, timeout_usec); -} +} \ No newline at end of file diff --git a/tests/ofs_driver/CMakeLists.txt b/tests/ofs_driver/CMakeLists.txt index a1a903693dd8..42a1445bd1bf 100644 --- a/tests/ofs_driver/CMakeLists.txt +++ b/tests/ofs_driver/CMakeLists.txt @@ -23,10 +23,11 @@ ## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ## POSSIBILITY OF SUCH DAMAGE. + ofs_add_driver(ofs_test.yml ofs_test ofs_test.c) opae_test_add( TARGET test_ofs_driver SOURCE test_ofs_driver.cpp LIBS ofs_test -) +) \ No newline at end of file diff --git a/tests/ofs_driver/ofs_test.c b/tests/ofs_driver/ofs_test.c index f43dae543cdb..aa0bd30e97d1 100644 --- a/tests/ofs_driver/ofs_test.c +++ b/tests/ofs_driver/ofs_test.c @@ -23,7 +23,5 @@ // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -#include "ofs_test.h" - - +#include "ofs_test.h" \ No newline at end of file diff --git a/tests/ofs_driver/ofs_test.yml b/tests/ofs_driver/ofs_test.yml index 19805c154890..4800db6e3561 100644 --- a/tests/ofs_driver/ofs_test.yml +++ b/tests/ofs_driver/ofs_test.yml @@ -27,4 +27,4 @@ drivers: - - [bits, [63,0], RO, 0xB449F9F67228EBF4, "Lower 64 bits"] - !!ofs/register - [id_hi, 0x0010, 0xB449F9F67228EBF4, "GUID Upper 64 bits"] - - - [bits, [63,0], RO, 0xB449F9F67228EBF4, "Lower 64 bits"] + - - [bits, [63,0], RO, 0xB449F9F67228EBF4, "Lower 64 bits"] \ No newline at end of file diff --git a/tests/ofs_driver/test_ofs_driver.cpp b/tests/ofs_driver/test_ofs_driver.cpp index 20857b5f4bdd..da5ff74634ce 100644 --- a/tests/ofs_driver/test_ofs_driver.cpp +++ b/tests/ofs_driver/test_ofs_driver.cpp @@ -23,6 +23,7 @@ // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. + #include #include #include @@ -95,4 +96,4 @@ TEST(ofs_driver, ofs_test_read_guid) char unparsed[56]; uuid_unparse(u2, unparsed); EXPECT_STREQ(guid_str, unparsed); -} +} \ No newline at end of file