tests: converted to Makefiles

This commit is contained in:
Emma Tebibyte 2024-08-02 17:29:30 -06:00
parent 94873a2ddc
commit ce8a0a5be3
Signed by: emma
GPG Key ID: 06FA419A1698C270
20 changed files with 249 additions and 194 deletions

View File

@ -31,6 +31,13 @@ RUSTLIBS = --extern getopt=build/o/libgetopt.rlib \
--extern strerror=build/o/libstrerror.rlib --extern strerror=build/o/libstrerror.rlib
CFLAGS += -I$(SYSEXITS) CFLAGS += -I$(SYSEXITS)
# testing requires the absolute path to the bin directory set
BIN = build/bin
include tests/tests.mk
.PHONY: default
default: all test
.PHONY: all .PHONY: all
all: dj false fop hru intcmp mm npc rpn scrut str strcmp swab true all: dj false fop hru intcmp mm npc rpn scrut str strcmp swab true