aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2023-02-07 17:48:28 +0000
committerGravatar Peter McGoron 2023-02-07 17:48:28 +0000
commit705346372df1fee924c3f6d8bb7413fa2ed587e8 (patch)
treee5b4d2e04935faf584ff45f92b209057cfbafaae
parentmove python (diff)
move tests
-rw-r--r--Makefile8
-rw-r--r--c_test/creole.c (renamed from test_creole.c)2
-rw-r--r--c_test/encode_decode.c (renamed from test_encode_decode.c)2
-rw-r--r--c_test/greatest.h (renamed from greatest.h)0
4 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 49c74b9..dc6c3c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-test_encode_decode: test_encode_decode.c creole.c creole.h
- $(CC) test_encode_decode.c -Wall -pedantic -std=c89 -g -fopenmp -o test_encode_decode
-test_creole: test_creole.c creole.c creole.h greatest.h
- $(CC) -g test_creole.c -Wall -pedantic -std=c89 -o test_creole
+c_test/encode_decode: c_test/encode_decode.c creole.c creole.h
+ $(CC) c_test/encode_decode.c -Wall -pedantic -std=c89 -g -fopenmp -o c_test/encode_decode
+c_test/creole: c_test/creole.c creole.c creole.h greatest.h
+ $(CC) -g c_test/creole.c -Wall -pedantic -std=c89 -o c_test/creole
diff --git a/test_creole.c b/c_test/creole.c
index c645818..5f73cd6 100644
--- a/test_creole.c
+++ b/c_test/creole.c
@@ -1,6 +1,6 @@
#include "greatest.h"
GREATEST_MAIN_DEFS();
-#include "creole.c"
+#include "../creole.c"
/**************************************************************************
* Reader
diff --git a/test_encode_decode.c b/c_test/encode_decode.c
index fb0ba31..6a90490 100644
--- a/test_encode_decode.c
+++ b/c_test/encode_decode.c
@@ -2,7 +2,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
-#include "creole.c"
+#include "../creole.c"
#if 0
struct seq {
diff --git a/greatest.h b/c_test/greatest.h
index af0c053..af0c053 100644
--- a/greatest.h
+++ b/c_test/greatest.h