From aa5c30daf6135b3391550e01d945b19d1630a577 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt?= <b.laurent@student.uclouvain.be>
Date: Mon, 27 Apr 2020 02:11:10 +0200
Subject: [PATCH] g
---
22_04_version/Makefile | 2 +-
22_04_version/test.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/22_04_version/Makefile b/22_04_version/Makefile
index 2b81924..91c699c 100644
--- a/22_04_version/Makefile
+++ b/22_04_version/Makefile
@@ -21,7 +21,7 @@ testcppcheck : *.c *.h
testcunit : test.c main.c
$(CC) main.c $(CFlags)
- $(CC) -o test $(CFlags)
+ $(CC) test.c -o test $(CFlags)
./test
diff --git a/22_04_version/test.c b/22_04_version/test.c
index 5d2e411..f8d68fc 100644
--- a/22_04_version/test.c
+++ b/22_04_version/test.c
@@ -126,7 +126,7 @@ int main() {
if(NULL == CU_add_test(pSuite,"test_test",test_test))
/* ((NULL == CU_add_test(pSuite, "test_prime_zero", test_prime_zero)) ||
(NULL == CU_add_test(pSuite, "test_prime_empty", test_prime_empty)) ||
- (NULL == CU_add_test(pSuite, "test_prime_general", test_prime_general)))/*||
+ (NULL == CU_add_test(pSuite, "test_prime_general", test_prime_general))) ||
(NULL == CU_add_test(pSuite, "test_Nicolas", test_Nicolas)) ||
(NULL == CU_add_test(pSuite, "test_Nicolas", test_Nicolas)) ||
(NULL == CU_add_test(pSuite, "test_Nicolas", test_Nicolas)) ||)*/{
--
GitLab