Ignore:
Timestamp:
Jun 19, 2009, 1:52:24 PM (16 years ago)
Author:
rwilson
Message:

Removed references to machines_* files.

Location:
branches/numpy_misc/tools/acceptance_tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy_misc/tools/acceptance_tests/test_all.py

    r7054 r7230  
    4444        sys.exit(10)
    4545
    46     # copy machines_<name> files from here to ~
    47     home = os.getenv('HOME')
    48     if not home:
    49         util.log_print_nl(logfile, "Sorry, you don't have the 'HOME' environment variable set.")
    50         sys.exit(10)
    51     machine_file = 'machines_%s' % hostname
    52     shutil.copyfile(machine_file, os.path.join(home, '.'+machine_file))
     46##    # copy machines_<name> files from here to ~
     47##    home = os.getenv('HOME')
     48##    if not home:
     49##        util.log_print_nl(logfile, "Sorry, you don't have the 'HOME' environment variable set.")
     50##        sys.exit(10)
     51##    machine_file = 'machines_%s' % hostname
     52##    shutil.copyfile(machine_file, os.path.join(home, '.'+machine_file))
    5353
    5454    # make sure environment variables are set
  • branches/numpy_misc/tools/acceptance_tests/test_dump_python_environment.py

    r7031 r7230  
    5858    util.log_print_nl(logfile)
    5959
    60     # show contents of ./machines_<machine>
    61     # NOT SURE THIS FILE HAS ANY MEANING ANYMORE!?
    62     home = os.getenv('HOME')
    63     machines_file = os.path.join(home, '.machines_%s' % cluster)
    64     try:
    65         fd = open(machines_file, 'r')
    66         data = fd.read()
    67         fd.close()
    68     except:
    69         data = '***** NO FILE FOUND *****\n'
    70 
    71     util.log_print_nl(logfile, '%s:' % machines_file)
    72     util.log_print_nl(logfile, '-' * 30)
    73     util.log_print(logfile, data)
    74     util.log_print_nl(logfile, '-' * 30)
    75     util.log_print_nl(logfile)
     60##    # show contents of ./machines_<machine>
     61##    # NOT SURE THIS FILE HAS ANY MEANING ANYMORE!?
     62##    home = os.getenv('HOME')
     63##    machines_file = os.path.join(home, '.machines_%s' % cluster)
     64##    try:
     65##        fd = open(machines_file, 'r')
     66##        data = fd.read()
     67##        fd.close()
     68##    except:
     69##        data = '***** NO FILE FOUND *****\n'
     70##
     71##    util.log_print_nl(logfile, '%s:' % machines_file)
     72##    util.log_print_nl(logfile, '-' * 30)
     73##    util.log_print(logfile, data)
     74##    util.log_print_nl(logfile, '-' * 30)
     75##    util.log_print_nl(logfile)
    7676
    7777    # display which nodes are considered 'bad'
Note: See TracChangeset for help on using the changeset viewer.