1
0
Fork 0

[R] Removed redundant

This commit is contained in:
seleznevae 2018-03-17 21:36:24 +03:00
parent 59451ed926
commit 362051c2b9
3 changed files with 2 additions and 15 deletions

View File

@ -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

View File

@ -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)

View File

@ -1,6 +0,0 @@
#include <stdio.h>
int main()
{
return 0;
}