Regression: Use test-progs in /dist instead of tests/test-progs since they all aren't there.
--HG-- extra : convert_revision : 558b970f522f95e3492b7225f227c96cd5e003c3
This commit is contained in:
parent
546fbfb47c
commit
51ac4d1fb5
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2006 The Regents of The University of Michigan
|
||||
# Copyright (c) 2006-2007 The Regents of The University of Michigan
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -33,7 +33,10 @@ import os, sys
|
|||
|
||||
# find path to directory containing this file
|
||||
tests_root = os.path.dirname(__file__)
|
||||
test_progs = os.path.join(tests_root, 'test-progs')
|
||||
if os.path.isdir('/dist/m5/regression/test-progs'):
|
||||
test_progs = '/dist/m5/regression/test-progs'
|
||||
else:
|
||||
test_progs = os.path.join(tests_root, 'test-progs')
|
||||
|
||||
# generate path to binary file
|
||||
def binpath(app, file=None):
|
||||
|
|
Loading…
Reference in a new issue