[Piglit] [PATCH] (vp)fpgeneric: don't use testBinDir to define path
Morgan Armand
morgan.devel at gmail.com
Sun Nov 13 10:48:50 PST 2011
This ensures that those tests will work when using outsourced build.
---
tests/all.tests | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/all.tests b/tests/all.tests
index 6bcd3d9..2a85b7a 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -501,7 +501,7 @@ add_plain_test(shaders, 'useshaderprogram-flushverts-1')
fpgeneric = Group()
def add_fpgeneric(name):
- fpgeneric[name] = PlainExecTest(['fp-generic', '-auto', testBinDir + '../tests/shaders/generic/' + name + '.fp'])
+ fpgeneric[name] = PlainExecTest(['fp-generic', '-auto', os.path.dirname(__file__) + '/shaders/generic/' + name + '.fp'])
add_fpgeneric('dph')
add_fpgeneric('kil-swizzle')
add_fpgeneric('lrp_sat')
@@ -509,7 +509,7 @@ shaders['fp-generic'] = fpgeneric
vpfpgeneric = Group()
def add_vpfpgeneric(name):
- vpfpgeneric[name] = PlainExecTest(['vpfp-generic', '-auto', testBinDir + '../tests/shaders/generic/' + name + '.vpfp'])
+ vpfpgeneric[name] = PlainExecTest(['vpfp-generic', '-auto', os.path.dirname(__file__) + '/shaders/generic/' + name + '.vpfp'])
add_vpfpgeneric('arl')
add_vpfpgeneric('big-param')
add_vpfpgeneric('dataflow-bug')
--
1.7.7.1.msysgit.0
More information about the Piglit
mailing list