Index: tests/pybin/tools.py
===================================================================
--- tests/pybin/tools.py	(revision 8209e706be7569fa44d407b69a5f6cd439e7b422)
+++ tests/pybin/tools.py	(revision eea20cd3ba9700ffcd127410e589d7222d9aefb7)
@@ -23,5 +23,5 @@
 
 # helper functions to run terminal commands
-def sh(*cmd, timeout = False, output_file = None, input_file = None, input_text = None, error = subprocess.STDOUT):
+def sh(*cmd, timeout = False, output_file = None, input_file = None, input_text = None, error = subprocess.STDOUT, ignore_dry_run = False):
 	cmd = list(cmd)
 
@@ -30,5 +30,5 @@
 
 	# if this is a dry_run, only print the commands that would be ran
-	if settings.dry_run :
+	if settings.dry_run and not ignore_dry_run:
 		cmd = "{} cmd: {}".format(os.getcwd(), ' '.join(cmd))
 		if output_file and not isinstance(output_file, int):
@@ -287,5 +287,5 @@
 	distcc_hash = os.path.join(settings.SRCDIR, '../tools/build/distcc_hash')
 	config = "%s-%s" % (settings.arch.target, settings.debug.path)
-	_, out = sh(distcc_hash, config, output_file=subprocess.PIPE)
+	_, out = sh(distcc_hash, config, output_file=subprocess.PIPE, ignore_dry_run=True)
 	return out.strip()
 
