mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Fixed unit tests + fixed different compilation flags' combinations so that code compiles and works properly + added unit tests execution into a github actions workflow
This commit is contained in:
parent
ec9beed470
commit
8b073cbd48
8 changed files with 116 additions and 61 deletions
8
Makefile
8
Makefile
|
|
@ -9,6 +9,9 @@ all:
|
|||
$(MAKE) -C runtime
|
||||
$(MAKE) -C byterun
|
||||
$(MAKE) -C stdlib
|
||||
$(MAKE) -C runtime unit_tests.o
|
||||
$(MAKE) -C runtime invariants_check.o
|
||||
$(MAKE) -C runtime invariants_check_debug_print.o
|
||||
|
||||
STD_FILES=$(shell ls stdlib/*.[oi] stdlib/*.lama runtime/runtime.a runtime/Std.i)
|
||||
|
||||
|
|
@ -38,6 +41,11 @@ regression-lama-in-lama: all
|
|||
cp -R stdlib/* tmp-lama
|
||||
$(MAKE) -C lama-compiler
|
||||
|
||||
unit_tests:
|
||||
./runtime/unit_tests.o
|
||||
./runtime/invariants_check.o
|
||||
./runtime/invariants_check_debug_print.o
|
||||
|
||||
clean:
|
||||
$(MAKE) clean -C src
|
||||
$(MAKE) clean -C runtime
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue