From 5e13c7ba910e178a5ad3fb8776c7f3524d084add Mon Sep 17 00:00:00 2001 From: Leonardo Date: Mon, 13 Apr 2020 13:10:04 -0300 Subject: [PATCH] Update travis and fixing tests --- .travis.yml | 1 - tests/main/Makefile | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e4f7855..ff0bf29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,5 @@ script: - export CC=gcc-7 # - make -C ./tests/ - make -C ./tests/main/ - - make -C ./tests/codecov/ after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/tests/main/Makefile b/tests/main/Makefile index c0ede3d..e34be39 100644 --- a/tests/main/Makefile +++ b/tests/main/Makefile @@ -6,24 +6,24 @@ INCLUDE = ../../src/ main: FORCE $(CC) main.c -o main.exe $(CFLAGS) $(CVFLAGS) -I $(INCLUDE) - ./main + ./main.exe gcov ./main.c dev: FORCE $(CC) main.c -o main.exe $(CFLAGS) $(CVFLAGS) -I $(INCLUDE) - ./main + ./main.exe gcov ./main.c -n rm *.gcda *.gcno *.exe windev: FORCE $(CC) main.c -o main.exe $(CFLAGS) $(CVFLAGS) -I $(INCLUDE) - ./main + ./main.exe gcov ./main.c -n del *.gcda *.gcno *.exe nocov: FORCE $(CC) main.c -o main.exe $(CFLAGS) -I $(INCLUDE) - ./main + ./main.exe rm *.exe FORCE: