aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-12-11 18:39:03 -0800
committerAlon Zakai <azakai@mozilla.com>2010-12-11 18:39:03 -0800
commit1776ba30d4a746cd4f1cf7f69ec4f9a7a762d34a (patch)
tree887344165c296ea0c14ab03b1480e39e0757065b /tests
parent965d44dc699c22669b0fb4800e15e010f0bf48c0 (diff)
support for printing %p
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index a8cf123d..e556f3c5 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -183,7 +183,7 @@ if 'benchmark' not in sys.argv:
printf(",");
}
printf("*\\n");
- printf("*%ld*\\n", (long)21);
+ printf("*%ld*%p\\n", (long)21, &hash); // The %p should not enter an infinite loop!
return 0;
}
'''