feat: add tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: configure build debug-c debug-vm
|
||||
.PHONY: configure build debug-c debug-vm test
|
||||
|
||||
configure:
|
||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
|
||||
@@ -12,3 +12,6 @@ debug-c: build
|
||||
debug-vm: build
|
||||
gdb --args ./build/fz ${FILE}
|
||||
|
||||
test: build
|
||||
ctest --output-on-failure --test-dir build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user