summaryrefslogtreecommitdiff
path: root/tests/python2.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-02-10 10:13:59 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-02-10 10:13:59 +0100
commit6d0cfa312e825753c07fbd00aa0da5810302465f (patch)
tree7bb77e5ed47294be3362cbcdd7439d3ec60b5686 /tests/python2.test
parentc383211ab93ae36b3d9485da4101852db74ce0cc (diff)
parent6366a170d89eaaf6c3f119dc999035eb7d5a5800 (diff)
downloadautomake-6d0cfa312e825753c07fbd00aa0da5810302465f.tar.gz
Merge branch 'python-tests-extend'
Conflicts: tests/Makefile.am tests/Makefile.in tests/python11.test tests/python2.test tests/python8.test tests/python9.test
Diffstat (limited to 'tests/python2.test')
-rwxr-xr-xtests/python2.test16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/python2.test b/tests/python2.test
index 62c4a6960..4403dda57 100755
--- a/tests/python2.test
+++ b/tests/python2.test
@@ -18,6 +18,7 @@
. ./defs || Exit 1
+$ACLOCAL
echo 1. pythondir not defined
@@ -26,8 +27,8 @@ PYTHON = x
python_PYTHON = foo.py
END
-$ACLOCAL
AUTOMAKE_fails -a
+grep 'pythondir.*undefined' stderr
grep AM_PATH_PYTHON stderr
@@ -38,8 +39,8 @@ PYTHON = x
pkgpython_PYTHON = foo.py
END
-$ACLOCAL
AUTOMAKE_fails -a
+grep 'pkgpythondir.*undefined' stderr
grep AM_PATH_PYTHON stderr
@@ -50,8 +51,8 @@ PYTHON = x
pyexec_PYTHON = foo.py
END
-$ACLOCAL
AUTOMAKE_fails -a
+grep 'pyexecdir.*undefined' stderr
grep AM_PATH_PYTHON stderr
@@ -62,8 +63,8 @@ PYTHON = x
pkgpyexec_PYTHON = foo.py
END
-$ACLOCAL
AUTOMAKE_fails -a
+grep 'pkgpyexecdir.*undefined' stderr
grep AM_PATH_PYTHON stderr
@@ -74,8 +75,8 @@ pkgpyexecdir = /here/we/go
pkgpyexec_PYTHON = foo.py
END
-$ACLOCAL
AUTOMAKE_fails -a
+grep 'PYTHON.*undefined' stderr
grep AM_PATH_PYTHON stderr
@@ -87,7 +88,7 @@ pkgpyexecdir = /here/we/go
pkgpyexec_PYTHON = foo.py
END
-$ACLOCAL
+rm -f py-compile
$AUTOMAKE -a
test -f py-compile
@@ -100,5 +101,6 @@ fubardir = /here/we/go
fubar_PYTHON = foo.py
END
-$ACLOCAL
$AUTOMAKE -a
+
+: