summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-03-27 11:27:01 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-03-27 13:13:23 -0400
commitbca78d2597c78b0166d76d023eee1354f5abd04e (patch)
treecfe0b39dc687e1014a7e5bf138d6f9df0b1acd0b /GNUmakefile
parent25769288f62816d733004c9e8347c35dd0e4ce2a (diff)
downloadbfs-bca78d2597c78b0166d76d023eee1354f5abd04e.tar.xz
tests/xspawn: New unit test
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7dcd76f..080fb17 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -270,10 +270,15 @@ LIBBFS := \
$(BIN)/bfs: $(OBJ)/src/main.o $(LIBBFS)
# Testing utilities
-TEST_UTILS := $(BIN)/tests/mksock $(BIN)/tests/xtouch
+TEST_UTILS := \
+ $(BIN)/tests/mksock \
+ $(BIN)/tests/xspawnee \
+ $(BIN)/tests/xtouch
$(BIN)/tests/mksock: $(OBJ)/tests/mksock.o $(LIBBFS)
+$(BIN)/tests/xspawnee: $(OBJ)/tests/xspawnee.o
+
$(BIN)/tests/xtouch: $(OBJ)/tests/xtouch.o $(LIBBFS)
# All test binaries
@@ -286,6 +291,7 @@ $(BIN)/tests/units: \
$(OBJ)/tests/ioq.o \
$(OBJ)/tests/main.o \
$(OBJ)/tests/trie.o \
+ $(OBJ)/tests/xspawn.o \
$(OBJ)/tests/xtime.o \
$(LIBBFS)
@@ -294,7 +300,7 @@ tests: $(TESTS)
.PHONY: tests
# Run the unit tests
-unit-tests: $(BIN)/tests/units
+unit-tests: $(BIN)/tests/units $(BIN)/tests/xspawnee
$<
.PHONY: unit-tests