Changeset 2139 for XIOS/dev/dev_ym/XIOS_COUPLING/xios_test_suite/COMPILE
- Timestamp:
- 06/02/21 11:03:35 (3 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/xios_test_suite/COMPILE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/xios_test_suite/COMPILE/compile_irene
r1945 r2139 1 1 #!/bin/bash 2 2 3 set -x3 #set -x 4 4 5 5 export revision=$(svn info --show-item revision .. 2>&1) -
XIOS/dev/dev_ym/XIOS_COUPLING/xios_test_suite/COMPILE/config_compile.py
r2036 r2139 8 8 def OSinfo(runthis): 9 9 red = lambda text: '\033[0;31m' + text + '\033[0m' 10 osstdout = subprocess.Popen(runthis, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess. STDOUT, close_fds=True)11 theInfo = osstdout.communicate()[0].strip()12 if osstdout.returncode!=0:10 osstdout = subprocess.Popen(runthis, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) 11 theInfo, theErr = osstdout.communicate() 12 if theErr: 13 13 print(red(runthis+" FAILED")) 14 print(the Info)14 print(theErr) 15 15 sys.exit() 16 16
Note: See TracChangeset
for help on using the changeset viewer.