diff --git a/build/pass_on_fail.py b/build/pass_on_fail.py index dbdac888..837eb8bc 100644 --- a/build/pass_on_fail.py +++ b/build/pass_on_fail.py @@ -14,8 +14,7 @@ if not os.path.isabs(args[0]): args[0] = os.path.abspath(args[0]) # add missing extension on windows -t = os.path.join(os.getcwd(), "Debug", args[0] + ".exe") -sys.stdout.write("\n".join(os.listdir(os.getcwd()))+"\n") +t = os.getcwd() + "/Debug/" + args[0] + ".exe" sys.stdout.write("input file: " + t + "\n") if os.path.exists(t): args[0] = t