* tests/repeated-options.test: Do not assume that object files
have `.o' suffix and executables have no default suffix; instead,
use `$(OBJEXT)' and `$(EXEEXT)'.
+2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ tests: fix portability issues in 'repeated-options.test'
+ * tests/repeated-options.test: Do not assume that object files
+ have `.o' suffix and executables have no default suffix; instead,
+ use `$(OBJEXT)' and `$(EXEEXT)'.
+
2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
New test on repeated automake options.
AUTOMAKE_OPTIONS += dist-bzip2 parallel-tests
TESTS = foo.test
EXTRA_DIST = $(TESTS)
+TESTS_ENVIRONMENT = EXEEXT='$(EXEEXT)'
bin_PROGRAMS = sub/foo
+.PHONY: test-build
+test-build:
+ ls -l . sub
+ test -f sub/foo.$(OBJEXT)
+ test -f sub/foo$(EXEEXT)
END
mkdir sub
cat > foo.test <<'END'
#!/bin/sh
-test -f sub/foo && test -x sub/foo
+test -f sub/foo$EXEEXT && test -x sub/foo$EXEEXT
END
chmod a+x foo.test
./configure
$MAKE
-ls -l . sub
-test -f sub/foo.o
-test -f sub/foo
+$MAKE test-build
$MAKE check
ls -l
test -f foo.log