Ignore:
Timestamp:
Mar 5, 2010, 12:28:16 PM (13 years ago)
Author:
gray
Message:

Updating acceptance test files. Still pre-2010 tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/acceptance_tests/test_test_pypar.py

    r7276 r7656  
    11#!/bin/env python
    22
    3 '''Testlet to run the pypar tests.'''
     3"""Testlet to run the pypar tests."""
    44
    55import os
     
    2020
    2121    # run the test_pypar.py tests
    22     machines_file = os.path.join('~', '.machines_%s' % cluster)
     22    #machines_file = os.path.join('~', '.machines_%s' % cluster)
    2323    for num_procs in Processor_Numbers:
    2424        cmd = ('mpirun -nolocal -np %2d -hostfile %s %s test_pypar.py'
    25                % (num_procs, machines_file, python_env_var))
     25               % (num_procs, util.machines_file, python_env_var))
    2626        util.log_print(logfile, cmd + ' ...')
    2727        fd = os.popen(cmd)
     
    4848    os.chdir('mandelbrot')
    4949   
    50     cmd = '%s compile_mandelbrot_c_extensions.py' % python_env_var
     50    cmd = '%s compile.py mandel_ext.c' % python_env_var
    5151    util.log_print_nl(logfile, cmd)
    5252    fd = os.popen(cmd)
     
    5656    if status:
    5757        return False
    58 
     58   
     59    cmd = '%s compile.py mandelplot_ext.c' % python_env_var
     60    util.log_print_nl(logfile, cmd)
     61    fd = os.popen(cmd)
     62    compile_result = fd.read()
     63    status = fd.close()
     64    util.log_print(logfile, compile_result)
     65    if status:
     66        return False
     67   
    5968    # run tests
    60     machines_file = os.path.join('~', '.machines_%s' % cluster)
     69    machines_file = os.path.join('..', util.machines_file)
    6170    result_data = []
    6271    for num_procs in Processor_Numbers:
Note: See TracChangeset for help on using the changeset viewer.