Commit fbdae1fe authored by Hamilton, Steven P.'s avatar Hamilton, Steven P.
Browse files

Fixes to allow python3.

parent c7c6fcb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/usr/bin/env python
#!/usr/bin/env python3

import getopt
import sys
+9 −9
Original line number Diff line number Diff line
#! /usr/bin/env python
#! /usr/bin/env python3

import sys
import os
@@ -88,10 +88,10 @@ def check_results(path_to_results):

    if ip == expected_passes:
        ival = GOOD_RESULTS
        print "Passed"
        print("Passed")
    else:
        ival = BAD_RESULTS
        print "Failed"
        print("Failed")
 
    return ival

+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
source __rgtenvironmentalfile__
module load __nccstestharnessmodule__
module load gcc
module load python/2.7.12
module load python/3.5.2
module load py-h5py/2.6.0
module load spectrum_mpi
module list
+1 −1
Original line number Diff line number Diff line
#!/usr/bin/env python
#!/usr/bin/env python3

import getopt
import sys
+9 −9
Original line number Diff line number Diff line
#! /usr/bin/env python
#! /usr/bin/env python3

import sys
import os
@@ -88,10 +88,10 @@ def check_results(path_to_results):

    if ip == expected_passes:
        ival = GOOD_RESULTS
        print "Passed"
        print("Passed")
    else:
        ival = BAD_RESULTS
        print "Failed"
        print("Failed")
 
    return ival

Loading