summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 495bec31..bec2a383 100644
--- a/cscript
+++ b/cscript
@@ -99,6 +99,8 @@ def make_doxygen(target):
def test(target, options, test):
target.set('LC_ALL', 'C')
cmd = 'run\\tests ' if target.platform == 'windows' else 'run/tests '
+ if target.environment_prefix:
+ cmd += '-e %s' % target.environment_prefix
if test is not None:
cmd += '-t %s' % test
target.command(cmd)