[cig-commits] [commit] master: use .sh to make tests/burstedde work with clang and gcc (677b37e)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Sep 1 10:47:59 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/30ebdbf18265d5d129d98b6ca5f079916558687c...81c3920f5c4322ef3814b587ff70b740a78e87b2

>---------------------------------------------------------------

commit 677b37e4cb1d31a1d1d4f8e76467621440f2eecf
Author: Timo Heister <timo.heister at gmail.com>
Date:   Fri Aug 29 12:00:27 2014 -0400

    use .sh to make tests/burstedde work with clang and gcc


>---------------------------------------------------------------

677b37e4cb1d31a1d1d4f8e76467621440f2eecf
 tests/burstedde.sh            | 11 +++++++++++
 tests/burstedde/screen-output |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/tests/burstedde.sh b/tests/burstedde.sh
new file mode 100755
index 0000000..2f0190a
--- /dev/null
+++ b/tests/burstedde.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env perl
+
+$filename=$ARGV[0];
+while(<STDIN>)
+{
+    if ($filename eq "screen-output")
+    {
+	s/   Solving Stokes system... 0\+(\d+) iterations./   Solving Stokes system... 0+XYZ iterations./;
+    }
+    print $_;
+}
diff --git a/tests/burstedde/screen-output b/tests/burstedde/screen-output
index a03c4a3..b13cfa0 100644
--- a/tests/burstedde/screen-output
+++ b/tests/burstedde/screen-output
@@ -14,7 +14,7 @@ Number of degrees of freedom: 3,041 (2,187+125+729)
 *** Timestep 0:  t=0 seconds
    Solving temperature system... 0 iterations.
    Rebuilding Stokes preconditioner...
-   Solving Stokes system... 0+54 iterations.
+   Solving Stokes system... 0+XYZ iterations.
 
    Postprocessing:
      RMS, max velocity:             4.3 m/s, 13.2 m/s



More information about the CIG-COMMITS mailing list