Index: scripts/slave/unittests/recipe_simulation_test.py |
diff --git a/scripts/slave/unittests/recipe_simulation_test.py b/scripts/slave/unittests/recipe_simulation_test.py |
index abb4bedc7d6155dabb78b9c40e0e7b1f2577e815..d9129b2f313a71d8f35a01838921e671773b7fad 100755 |
--- a/scripts/slave/unittests/recipe_simulation_test.py |
+++ b/scripts/slave/unittests/recipe_simulation_test.py |
@@ -6,10 +6,9 @@ |
import os |
import sys |
-import test_env # pylint: disable=W0403,W0611 |
+RECIPES_PY = os.path.join( |
+ os.path.dirname(os.path.dirname(os.path.realpath(__file__))), |
+ 'recipes.py') |
-from recipe_engine import simulation_test |
-from slave import recipe_universe |
- |
-if __name__ == '__main__': |
- simulation_test.main(recipe_universe.get_universe()) |
+args = [sys.argv[0], 'simulation_test'] + sys.argv[1:] |
+os.execvp(RECIPES_PY, args) |
iannucci
2015/09/15 00:10:48
this may 'splode on windows, not sure.
luqui
2015/09/15 19:17:42
I tested recipes.py bootstrap on Windows which als
|