Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156923702
D56511.id176813.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D56511.id176813.diff
View Options
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -317,6 +317,10 @@
# "$OBJTOP"/tests/sys/kqueue/libkqueue/*
#fi
+# 20260427 # bc / dc test scripts no longer generated
+dir="${OBJTOP%/}"/usr.bin/gh-bc/tests
+run rm -fv "${dir}"/bc_tests.sh "${dir}"/dc_tests.sh
+
# 20260426 # libpkgconf contains incorrect paths
clean_obj lib/libpkgconf personality c pkgconfig:/share
clean_obj lib/libpkgconf pkg c pkgconfig:/share
diff --git a/usr.bin/gh-bc/tests/Makefile b/usr.bin/gh-bc/tests/Makefile
--- a/usr.bin/gh-bc/tests/Makefile
+++ b/usr.bin/gh-bc/tests/Makefile
@@ -55,14 +55,4 @@
PLAIN_TESTS_SH= bc_tests dc_tests
-bc_tests.sh:
- echo "#!/bin/sh" > ${.TARGET}
- echo 'env LANG=C BC_TEST_OUTPUT_DIR=$$(pwd) \
- ${TESTSDIR}/tests/all.sh -n bc 1 1 0 0 bc' >> ${.TARGET}
-
-dc_tests.sh:
- echo "#!/bin/sh" > ${.TARGET}
- echo "env LANG=C BC_TEST_OUTPUT_DIR=\$pwd \
- ${TESTSDIR}/tests/all.sh -n dc 1 1 0 0 dc" >> ${.TARGET}
-
.include <bsd.test.mk>
diff --git a/usr.bin/gh-bc/tests/bc_tests.sh b/usr.bin/gh-bc/tests/bc_tests.sh
new file mode 100755
--- /dev/null
+++ b/usr.bin/gh-bc/tests/bc_tests.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+unset LC_ALL LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
+export LANG=C
+export BC_TEST_OUTPUT_DIR=${PWD}
+exec "$(dirname "$(realpath "$0")")"/tests/all.sh -n bc 1 1 0 0 bc
diff --git a/usr.bin/gh-bc/tests/dc_tests.sh b/usr.bin/gh-bc/tests/dc_tests.sh
new file mode 100755
--- /dev/null
+++ b/usr.bin/gh-bc/tests/dc_tests.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+unset LC_ALL LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
+export LANG=C
+export BC_TEST_OUTPUT_DIR=${PWD}
+exec "$(dirname "$(realpath "$0")")"/tests/all.sh -n dc 1 1 0 0 dc
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 18, 9:36 AM (5 m, 49 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33242071
Default Alt Text
D56511.id176813.diff (1 KB)
Attached To
Mode
D56511: bc: Fix tests
Attached
Detach File
Event Timeline
Log In to Comment