1
0
Fork 0

Remove tests in C

This commit is contained in:
Alex Kotov 2023-05-06 22:40:30 +04:00
parent 1e76dd59a5
commit bb100af429
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
3 changed files with 4 additions and 1072 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
/arcana-lisp
/arcana-lisp-test
/src/*.o
/tests/*.out

View File

@ -12,6 +12,7 @@ OBJS = \
src/ctype.c.o \
src/eval.c.o \
src/lexer.c.o \
src/main.c.o \
src/object.c.o \
src/parser.c.o \
src/syntax.c.o \
@ -28,14 +29,10 @@ TEST_OUTS = \
tests/type_conv.out \
tests/type_preds.out
MAIN_OBJS = $(OBJS) src/main.c.o
TEST_OBJS = $(OBJS) src/main-test.c.o
repl: arcana-lisp
./arcana-lisp
test: arcana-lisp-test $(TEST_OUTS)
./arcana-lisp-test
test: $(TEST_OUTS)
$(DIFF_Q) tests/arithm_ops.txt tests/arithm_ops.out
$(DIFF_Q) tests/basic_data_structs.txt tests/basic_data_structs.out
$(DIFF_Q) tests/hello.txt tests/hello.out
@ -47,12 +44,9 @@ test: arcana-lisp-test $(TEST_OUTS)
$(DIFF_Q) tests/type_preds.txt tests/type_preds.out
clean:
$(RM_F) arcana-lisp arcana-lisp-test $(MAIN_OBJS) $(TEST_OBJS) $(TEST_OUTS)
$(RM_F) arcana-lisp $(OBJS) $(TEST_OUTS)
arcana-lisp: $(MAIN_OBJS)
$(CC) -o $@ $^ $(CFLAGS)
arcana-lisp-test: $(TEST_OBJS)
arcana-lisp: $(OBJS)
$(CC) -o $@ $^ $(CFLAGS)
%.c.o: %.c

File diff suppressed because it is too large Load Diff