mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
bash and test portability improvment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32284 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9e82abe4db
commit
96d0dc4295
4 changed files with 2419 additions and 1602 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2011-01-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* configure.ac: Check for bash and test programs
|
||||
* configure: regenerate
|
||||
* TestFramework/gnustep-tests: remove ... use gnustep-test.in
|
||||
* TestFramework/gnustep-tests.in:
|
||||
Use bash as our shell if possible, and use an external test program
|
||||
determined at configure time if we can't rely on the builtin test
|
||||
function in the shell we end up with.
|
||||
|
||||
2011-01-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* TestFramework/gnustep-tests:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!@SHELLPROG@
|
||||
#
|
||||
# Runs tests for the GNUstep Testsuite
|
||||
#
|
||||
|
@ -127,7 +127,7 @@ then
|
|||
# define a function to call a real program to do the job.
|
||||
test()
|
||||
{
|
||||
/bin/test $@
|
||||
@TESTPROG@ $@
|
||||
}
|
||||
fi
|
||||
|
12
configure.ac
12
configure.ac
|
@ -1804,12 +1804,20 @@ AC_SUBST(target)
|
|||
#--------------------------------------------------------------------
|
||||
AC_CHECK_PROGS(LATEX2HTML, latex2html)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# For test framework
|
||||
#--------------------------------------------------------------------
|
||||
AC_PATH_PROG(SHELLPROG,bash,/bin/sh)
|
||||
AC_PATH_PROG(TESTPROG, test)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Produce the output files
|
||||
#--------------------------------------------------------------------
|
||||
AC_CONFIG_FILES([config-noarch.make config.make openapp opentool
|
||||
executable.template GNUmakefile GNUstep.conf GNUstep-strict-v2.conf GNUstep.sh GNUstep.csh fixpath.sh
|
||||
gnustep-make.spec gnustep-config filesystem.make filesystem.sh filesystem.csh])
|
||||
executable.template GNUmakefile GNUstep.conf GNUstep-strict-v2.conf
|
||||
GNUstep.sh GNUstep.csh fixpath.sh
|
||||
gnustep-make.spec gnustep-config TestFramework/gnustep-tests
|
||||
filesystem.make filesystem.sh filesystem.csh])
|
||||
AC_CONFIG_COMMANDS([default],
|
||||
[[chmod a+x openapp opentool fixpath.sh executable.template]],
|
||||
[[]])
|
||||
|
|
Loading…
Reference in a new issue