Remove tests in C
This commit is contained in:
parent
1e76dd59a5
commit
bb100af429
3 changed files with 4 additions and 1072 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
||||||
/arcana-lisp
|
/arcana-lisp
|
||||||
/arcana-lisp-test
|
|
||||||
|
|
||||||
/src/*.o
|
/src/*.o
|
||||||
/tests/*.out
|
/tests/*.out
|
||||||
|
|
14
Makefile
14
Makefile
|
@ -12,6 +12,7 @@ OBJS = \
|
||||||
src/ctype.c.o \
|
src/ctype.c.o \
|
||||||
src/eval.c.o \
|
src/eval.c.o \
|
||||||
src/lexer.c.o \
|
src/lexer.c.o \
|
||||||
|
src/main.c.o \
|
||||||
src/object.c.o \
|
src/object.c.o \
|
||||||
src/parser.c.o \
|
src/parser.c.o \
|
||||||
src/syntax.c.o \
|
src/syntax.c.o \
|
||||||
|
@ -28,14 +29,10 @@ TEST_OUTS = \
|
||||||
tests/type_conv.out \
|
tests/type_conv.out \
|
||||||
tests/type_preds.out
|
tests/type_preds.out
|
||||||
|
|
||||||
MAIN_OBJS = $(OBJS) src/main.c.o
|
|
||||||
TEST_OBJS = $(OBJS) src/main-test.c.o
|
|
||||||
|
|
||||||
repl: arcana-lisp
|
repl: arcana-lisp
|
||||||
./arcana-lisp
|
./arcana-lisp
|
||||||
|
|
||||||
test: arcana-lisp-test $(TEST_OUTS)
|
test: $(TEST_OUTS)
|
||||||
./arcana-lisp-test
|
|
||||||
$(DIFF_Q) tests/arithm_ops.txt tests/arithm_ops.out
|
$(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/basic_data_structs.txt tests/basic_data_structs.out
|
||||||
$(DIFF_Q) tests/hello.txt tests/hello.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
|
$(DIFF_Q) tests/type_preds.txt tests/type_preds.out
|
||||||
|
|
||||||
clean:
|
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)
|
arcana-lisp: $(OBJS)
|
||||||
$(CC) -o $@ $^ $(CFLAGS)
|
|
||||||
|
|
||||||
arcana-lisp-test: $(TEST_OBJS)
|
|
||||||
$(CC) -o $@ $^ $(CFLAGS)
|
$(CC) -o $@ $^ $(CFLAGS)
|
||||||
|
|
||||||
%.c.o: %.c
|
%.c.o: %.c
|
||||||
|
|
1061
src/main-test.c
1061
src/main-test.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue