File: 15_testsuite_print_output_on_failure.patch

package info (click to toggle)
nwchem 7.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,352,308 kB
  • sloc: fortran: 4,965,533; ansic: 259,769; f90: 30,773; sh: 22,069; python: 19,545; cpp: 15,679; java: 12,311; perl: 6,733; csh: 4,122; makefile: 4,109; sed: 246; awk: 115; exp: 111; asm: 106; pascal: 76
file content (19 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: nwchem/QA/runtests.mpi.unix
===================================================================
--- nwchem.orig/QA/runtests.mpi.unix	2025-11-07 23:43:51.445838729 +0100
+++ nwchem/QA/runtests.mpi.unix	2025-11-07 23:43:51.439700205 +0100
@@ -461,10 +461,10 @@
     echo "failed"
     echo "@@@     Comparison of Output Files"  
     diff -U2 ${STUB}.ok.out.nwparse ${STUB}.out.nwparse | sed 1,2d
-#    echo "@@@     Paste beginning of Output File"  
-#    head -1000 ${STUB}.out
-#    echo "@@@     Paste End of Output File"  
-#    tail -1000 ${STUB}.out
+    echo "@@@     Paste beginning of Output File"  
+    head -1000 ${STUB}.out
+    echo "@@@     Paste End of Output File"  
+    tail -1000 ${STUB}.out
     let "overall_status+=1"
     continue 
   else