Hi all, we have python scripts which we use for unit test, I
had to crate a generator for that as there’s no source to compile, just
want to run the script:
import type ;
import generators ;
using python : 2.5 : /usr/local/bin/python ;
type.register UNIT_TEST_RAW : : UNIT_TEST ;
generators.register-standard testing.unit-test : : UNIT_TEST_RAW ;
unit-test-raw t_compliance_filter : t_compliance_filter.py ;
I get the following error because the current dir isn’t
in the $PATH:
/bin/sh: t_compliance_filter.py: not found
I wander how to add the current dir to the $PATH or tell unit-test-raw
to use “python t_compliance_filter.py” instead?
Both solutions should work…
Best Regards
Alex Khassapov
Senior Software Engineer
ITG Australia Ltd
Level
3,
525
Ph.
+61 3 9211 2543
Fax. +61 3 9211 2599