summaryrefslogtreecommitdiff
path: root/build_w32.bat
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2019-10-05 14:26:52 -0400
committerPaul Smith <psmith@gnu.org>2019-10-05 17:47:52 -0400
commit393d2a2d4a250d293945b65f017668336a75383f (patch)
treeb24afe89db2fadfc909f9327f71f265dd4db7029 /build_w32.bat
parentbd7d03f8cd24511824cb2a6003007052555cc42f (diff)
downloadmake-git-393d2a2d4a250d293945b65f017668336a75383f.tar.gz
tests: Convert %CONFIG_FLAGS to get_config()
* tests/config-flags.pm.W32: Create a predefined Windows file. * Makefile.am (test_FILES): Add it to the distribution. * build_w32.bat: Install tests/config-flags.pm if not existing. * tests/run_make_tests.pl (get_config): Create new function. * tests/scripts/features/archives: Call get_config() rather than using %CONFIG_FLAGS directly. * tests/scripts/features/load: Ditto. * tests/scripts/features/loadapi: Ditto. * tests/scripts/functions/wildcard: Ditto.
Diffstat (limited to 'build_w32.bat')
-rwxr-xr-xbuild_w32.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_w32.bat b/build_w32.bat
index 9fbfb4bb..b245d053 100755
--- a/build_w32.bat
+++ b/build_w32.bat
@@ -258,6 +258,7 @@ exit 1
:Success
echo %OUTDIR% build succeeded.
if exist Basic.mk copy /Y Basic.mk Makefile
+if not exist tests\config-flags.pm copy /Y tests\config-flags.pm.W32 tests\config-flags.pm
call :Reset
goto :EOF