vala r893 - in trunk: . tests
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r893 - in trunk: . tests
- Date: Wed, 23 Jan 2008 09:58:01 +0000 (GMT)
Author: juergbi
Date: Wed Jan 23 09:58:00 2008
New Revision: 893
URL: http://svn.gnome.org/viewvc/vala?rev=893&view=rev
Log:
2008-01-23 Juerg Billeter <j bitron ch>
* tests/Makefile.am, tests/testrunner.sh: honor EXEEXT to fix tests
on Cygwin and MinGW, patch by Yaakov Selkowitz, fixes bug 511438
Modified:
trunk/ChangeLog
trunk/tests/Makefile.am
trunk/tests/testrunner.sh
Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am (original)
+++ trunk/tests/Makefile.am Wed Jan 23 09:58:00 2008
@@ -12,7 +12,7 @@
noinst_PROGRAMS = \
$(NULL)
-TESTS_ENVIRONMENT = $(srcdir)/testrunner.sh
+TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) $(srcdir)/testrunner.sh
TESTS = \
hello.vala \
Modified: trunk/tests/testrunner.sh
==============================================================================
--- trunk/tests/testrunner.sh (original)
+++ trunk/tests/testrunner.sh Wed Jan 23 09:58:00 2008
@@ -25,6 +25,7 @@
srcdir=`dirname $0`
topsrcdir=$srcdir/..
vapidir=$topsrcdir/vapi
+exe=$EXEEXT
export G_DEBUG=fatal_warnings
@@ -51,7 +52,7 @@
fi
if ./$testbuild | tee $testbuild.err | cmp -s $testsrc.exp
then
- rm $testbuild.c $testbuild.h $testbuild $testbuild.err
+ rm $testbuild.c $testbuild.h $testbuild$exe $testbuild.err
else
CODE=1
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]