instant team mailing list archive
-
instant team
-
Mailing list archive
-
Message #00343
Re: Patch for test scripts
Hi,
a tiny bug managed to sneak into the last patch. Sorry about that.
Attached is a new patch that fixes this.
Johannes
On Mon, December 29, 2008 10:20, Johannes Ring wrote:
> Hi,
>
> Please apply the attached patch which replaces the shell scripts under the
> 'tests' folder (run_tests.sh, rerun_tests.sh, and clean.sh) with
> equivalent Python scripts for better cross-platform compatibility.
>
> Johannes_______________________________________________
> Instant-dev mailing list
> Instant-dev@xxxxxxxxxx
> http://fenics.org/mailman/listinfo/instant-dev
>
# HG changeset patch
# User Johannes Ring <johannr@xxxxxxxxx>
# Date 1230549939 -3600
# Node ID 82140b9de5013141b02f34feef4e1058553f1452
# Parent e74cca4309e1a850b7650f16c17f5b8591b83117
Minor fix in test script.
diff -r e74cca4309e1 -r 82140b9de501 tests/rerun_tests.py
--- a/tests/rerun_tests.py Mon Dec 29 10:09:38 2008 +0100
+++ b/tests/rerun_tests.py Mon Dec 29 12:25:39 2008 +0100
@@ -15,4 +15,4 @@
print "\nThe following tests failed:"
for f in failed_tests:
print f
- sys.exit(len(failed_tests1))
+ sys.exit(len(failed_tests))
diff -r e74cca4309e1 -r 82140b9de501 tests/run_tests.py
--- a/tests/run_tests.py Mon Dec 29 10:09:38 2008 +0100
+++ b/tests/run_tests.py Mon Dec 29 12:25:39 2008 +0100
@@ -16,4 +16,4 @@
print "\nThe following tests failed:"
for f in failed_tests:
print f
- sys.exit(len(failed_tests1))
+ sys.exit(len(failed_tests))
Follow ups
References