Changeset 2574


Ignore:
Timestamp:
01/30/11 16:13:28 (3 years ago)
Author:
wehart
Message:

Further updates needed to get testing working.

Location:
hudson/performance
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • hudson/performance/figure.py

    r2572 r2574  
    3535            plt.subplot(5, 1, X) 
    3636            plt.plot(table[0][1:],table[i][1:]) 
     37            #print >>sys.stderr, "FIGURE:",table[i][0] 
    3738            plt.title(table[i][0], fontsize=8) 
    3839            plt.tick_params(labelsize=8) 
     
    4546                plt.savefig(pp, format='pdf') 
    4647                plt.clf() 
     48        if X != 0: 
     49            plt.savefig(pp, format='pdf') 
     50            plt.clf() 
    4751    else: 
    4852        X = 0 
  • hudson/performance/process

    r2573 r2574  
    7979    if rc != 0: 
    8080        raise IOError, "Problem installing with virtualenv" 
     81    # 
    8182    rc = subprocess.call(['python/bin/easy_install','numpy']) 
    8283    sys.stdout.flush() 
    8384    if rc != 0: 
    8485        raise IOError, "Problem installing numpy" 
     86    # 
    8587    rc = subprocess.call(['python/bin/easy_install','matplotlib']) 
    8688    sys.stdout.flush() 
    8789    if rc != 0: 
    8890        raise IOError, "Problem installing matplotlib" 
     91    # 
     92    rc = subprocess.call(['python/bin/easy_install','nose']) 
     93    sys.stdout.flush() 
     94    if rc != 0: 
     95        raise IOError, "Problem installing nose" 
     96    # 
     97    rc = subprocess.call(['python/bin/easy_install','pyutilib.th']) 
     98    sys.stdout.flush() 
     99    if rc != 0: 
     100        raise IOError, "Problem installing pyutilib.th" 
    89101os.chdir(cwd) 
    90102# 
     
    126138# 
    127139write_tables(db) 
     140sys.stdout.flush() 
    128141# 
    129142# Create figures 
     
    131144cmd = ['performance/python/bin/python','performance/figure.py'] + list(glob.glob('results/*.csv')) 
    132145subprocess.call(cmd) 
    133  
     146sys.stdout.flush() 
     147# 
     148# Run tests to detect anomalies 
     149# 
     150cmd = ['performance/python/bin/nosetests','--with-xunit','--xunit-file=TEST-perf.xml','performance'] 
     151subprocess.call(cmd) 
Note: See TracChangeset for help on using the changeset viewer.