Index: tests/pybin/settings.py
===================================================================
--- tests/pybin/settings.py	(revision c2051e106b97c83b3809b5b85c34a13861991d58)
+++ tests/pybin/settings.py	(revision 8209e706be7569fa44d407b69a5f6cd439e7b422)
@@ -127,6 +127,6 @@
 	archive      = os.path.abspath(os.path.join(original_path, options.archive_errors)) if options.archive_errors else None
 	debug        = Debug(options.debug)
+	dry_run      = options.dry_run # must be called before tools.config_hash()
 	distcc       = "DISTCC_CFA_PATH=~/.cfadistcc/%s/cfa" % tools.config_hash()
-	dry_run      = options.dry_run
 	generating   = options.regenerate_expected
 	install      = Install(options.install)
