Test fix for Linux
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 3 May 2008 12:56:39 +0000 (13:56 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 3 May 2008 12:56:39 +0000 (13:56 +0100)
tests/Makefile.am
tests/cookie.py
tests/dbversion.py
tests/dump.py
tests/files.py
tests/play.py
tests/queue.py
tests/recode.py
tests/search.py
tests/user-upgrade.py
tests/user.py

index 6795672..08cfc0b 100644 (file)
@@ -29,8 +29,9 @@ disorder_udplog_DEPENDENCIES=../lib/libdisorder.a
 TESTS=cookie.py dbversion.py dump.py files.py play.py queue.py \
        recode.py search.py user-upgrade.py user.py
 
+TESTS_ENVIRONMENT=${PYTHON} -u
+
 clean-local:
        rm -rf testroot *.log *.pyc
 
-EXTRA_DIST=dtest.py dbversion.py search.py \
-       queue.py dump.py play.py cookie.py user-upgrade.py user.py recode.py
+EXTRA_DIST=dtest.py ${TESTS}
index 21353b0..8a91829 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007 Richard Kettlewell
index c93e1e8..218e0c9 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell
index c935f20..ff28a0f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell
index 65211dc..984c6cc 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell
index 35cc7a3..0013d7e 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell
index a1ddedf..dae37b4 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell
index d57db02..2878e68 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2008 Richard Kettlewell
index 556a24c..5e3d200 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell
index ffd30ea..d35e4f6 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell
index 4c4fa48..ffc1fdc 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -u
+#! /usr/bin/env python
 #
 # This file is part of DisOrder.
 # Copyright (C) 2007, 2008 Richard Kettlewell