Commit 1a08f531 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Prevent printing of empty test target in debug output

Debugging does not print an empty test target if passed, instead
converting it to '.' (project directory).
parent 10228e50
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -82,7 +82,8 @@ def run_rules(rules_head, testpath, testname=None):
		return

	if __debug__ and 'DEBUG' in environ:
		sys.stderr.write("Testing \033[35;1m{0}\033[m:\n".format(testpath))
		sys.stderr.write(
			"Testing \033[35;1m{0}\033[m:\n".format(testpath or '.'))

	prev_rule = None
	rule = rules_head