Skip to content

Commit

Permalink
libofs: fix blank lines in files
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Rojo <rodrigo.rojo@intel.com>
  • Loading branch information
r-rojo committed Mar 12, 2021
1 parent b75690c commit 9561585
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions libofs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand All @@ -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)
2 changes: 1 addition & 1 deletion libofs/ofs_primitives.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <ofs/ofs_primitives.h>

#include <ofs/ofs_primitives.h>
5 changes: 2 additions & 3 deletions tests/libofs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


)
3 changes: 2 additions & 1 deletion tests/libofs/test_libofs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <chrono>
#include <future>
#include <thread>
Expand Down Expand Up @@ -155,4 +156,4 @@ TEST(libofs, wait_for_eq_timeout)

delta_usec = wait_test<uint64_t>(ofs_wait_for_eq64, false, modify_usec, timeout_usec);
EXPECT_GE(delta_usec, timeout_usec);
}
}
3 changes: 2 additions & 1 deletion tests/ofs_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
)
4 changes: 1 addition & 3 deletions tests/ofs_driver/ofs_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion tests/ofs_driver/ofs_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 2 additions & 1 deletion tests/ofs_driver/test_ofs_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <chrono>
#include <future>
#include <thread>
Expand Down Expand Up @@ -95,4 +96,4 @@ TEST(ofs_driver, ofs_test_read_guid)
char unparsed[56];
uuid_unparse(u2, unparsed);
EXPECT_STREQ(guid_str, unparsed);
}
}

0 comments on commit 9561585

Please sign in to comment.