split test in separate test files

This commit is contained in:
2025-08-21 18:19:19 +03:00
committed by Pavel Kulyov
parent 97d44a0050
commit 8bbf44f329
4 changed files with 33 additions and 30 deletions

View File

@@ -12,9 +12,9 @@ main.o: main.scm
%.o: %.scm
$(CHICKEN_C) $< -e -c -o $@
sex-tests: $(OBJ) tests/run.scm
$(CHICKEN_C) tests/run.scm -c -o sex-tests.o
$(CHICKEN_C) $(OBJ) sex-tests.o -o sex-tests
sex-tests: $(OBJ) tests/*.scm
cd ./tests && $(CHICKEN_C) run.scm -c -o sex-tests.o
$(CHICKEN_C) $(OBJ) ./tests/sex-tests.o -o sex-tests
clean:
rm -f $(OBJ) sexc sex-tests main.o sex-test.o
rm -f $(OBJ) sexc sex-tests main.o ./tests/sex-tests.o