From 705346372df1fee924c3f6d8bb7413fa2ed587e8 Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Tue, 7 Feb 2023 17:48:28 +0000 Subject: [PATCH] move tests --- Makefile | 8 ++++---- test_creole.c => c_test/creole.c | 2 +- test_encode_decode.c => c_test/encode_decode.c | 2 +- greatest.h => c_test/greatest.h | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename test_creole.c => c_test/creole.c (98%) rename test_encode_decode.c => c_test/encode_decode.c (99%) rename greatest.h => c_test/greatest.h (100%) 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 similarity index 98% rename from test_creole.c rename to 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 similarity index 99% rename from test_encode_decode.c rename to 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 #include #include -#include "creole.c" +#include "../creole.c" #if 0 struct seq { diff --git a/greatest.h b/c_test/greatest.h similarity index 100% rename from greatest.h rename to c_test/greatest.h