From 362051c2b93b3ffa47a4dd6aba2c9764cdd153fc Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sat, 17 Mar 2018 21:36:24 +0300 Subject: [PATCH] [R] Removed redundant --- .travis.yml | 6 ++---- CMakeLists.txt | 5 ----- example/main2.c | 6 ------ 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 example/main2.c diff --git a/.travis.yml b/.travis.yml index 8a2aa0f..2e7da81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ language: C -#sudo: required # to prevent fail of executables build with clang and sanitizers matrix: include: - os: linux @@ -39,8 +38,7 @@ script: - cmake .. -DFORT_TEST_BUILD=ON -DFORT_GCC_BUILD=${GCC_BUILD} - cmake --build . --target all - ls - - LSAN_OPTIONS=verbosity=1:log_threads=1 ./libfort_dummy - - LSAN_OPTIONS=verbosity=1:log_threads=1 ./libfort_example - - LSAN_OPTIONS=verbosity=1:log_threads=1 ./libfort_test + - ./libfort_example + - ./libfort_test diff --git a/CMakeLists.txt b/CMakeLists.txt index 049e76d..4607e82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,11 +49,6 @@ target_link_libraries(libfort_test cmocka) -add_executable(${PROJECT_NAME}_dummy - example/main2.c) - - - if(FORT_TEST_BUILD) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address") if(FORT_GCC_BUILD) diff --git a/example/main2.c b/example/main2.c deleted file mode 100644 index c5d6809..0000000 --- a/example/main2.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() -{ - return 0; -}