summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 69048cf..28dd59c 100644
--- a/Makefile
+++ b/Makefile
@@ -35,12 +35,12 @@ gen/config.mk::
## Build phase (`make`)
# The main binary
-bfs: bin/bfs
+bfs: bin/find2fd
.PHONY: bfs
# All binaries
BINS := \
- bin/bfs \
+ bin/find2fd \
bin/tests/mksock \
bin/tests/units \
bin/tests/xspawnee \
@@ -50,7 +50,7 @@ all: ${BINS}
.PHONY: all
# The main binary
-bin/bfs: ${LIBBFS} obj/src/main.o
+bin/find2fd: ${LIBBFS} obj/src/main.o
${BINS}:
@${MKDIR} ${@D}
@@ -120,19 +120,19 @@ INTEGRATIONS := default dfs ids eds j1 j2 j3 s
INTEGRATION_TESTS := ${INTEGRATIONS:%=check-%}
# Check just `bfs`
-check-default: bin/bfs ${ITEST_BINS}
+check-default: bin/find2fd ${ITEST_BINS}
+${MSG} "[TEST] bfs" \
- ./tests/tests.sh --make="${MAKE}" --bfs="bin/bfs" ${TEST_FLAGS}
+ ./tests/tests.sh --make="${MAKE}" --bfs="bin/find2fd" ${TEST_FLAGS}
# Check the different search strategies
-check-dfs check-ids check-eds: bin/bfs ${ITEST_BINS}
+check-dfs check-ids check-eds: bin/find2fd ${ITEST_BINS}
+${MSG} "[TEST] bfs -S ${@:check-%=%}" \
- ./tests/tests.sh --make="${MAKE}" --bfs="bin/bfs -S ${@:check-%=%}" ${TEST_FLAGS}
+ ./tests/tests.sh --make="${MAKE}" --bfs="bin/find2fd -S ${@:check-%=%}" ${TEST_FLAGS}
# Check various flags
-check-j1 check-j2 check-j3 check-s: bin/bfs ${ITEST_BINS}
+check-j1 check-j2 check-j3 check-s: bin/find2fd ${ITEST_BINS}
+${MSG} "[TEST] bfs -${@:check-%=%}" \
- ./tests/tests.sh --make="${MAKE}" --bfs="bin/bfs -${@:check-%=%}" ${TEST_FLAGS}
+ ./tests/tests.sh --make="${MAKE}" --bfs="bin/find2fd -${@:check-%=%}" ${TEST_FLAGS}
# Run the integration tests
integration-tests: ${INTEGRATION_TESTS}