tests: xlate: Change testfile to take "extensions/test_file" as argument
PATCH 1/1 tests: xlate: Change testfile to take "extensions/test_file" as argument
When executing xlate-test.py with specified test file, give "extensions/test_file.txlate" as argument
Signed-off-by Harsha Sharma <[email protected]>
--- xlate-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xlate-test.py +1 -1
@@ -78,7 +78,7 @@ def main(): if not args.test.endswith(".txlate"): args.test += ".txlate" try: - with open("extensions/" + args.test, "r") as payload: + with open(args.test, "r") as payload: run_test(args.test, payload) except IOError: print(red("Error: ") + "test file does not exist")
Signature · 1 line
2.11.0