Author: Armin Rigo <ar...@tunes.org> Branch: arm-longlong Changeset: r73246:9b92c5b09665 Date: 2014-08-31 19:38 +0200 http://bitbucket.org/pypy/pypy/changeset/9b92c5b09665/
Log: Comments diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py --- a/rpython/jit/backend/test/runner_test.py +++ b/rpython/jit/backend/test/runner_test.py @@ -2757,6 +2757,12 @@ export_symbols = [] def prepare_c_source(): + """Pick a random choice of argument types and length, + and build a C function with these arguments. The C + function will simply copy them all into static global + variables. There are then additional functions to fetch + them, one per argument, with a signature 'void(ARG *)'. + """ POSSIBLE_TYPES = [rnd.choice(ALL_TYPES) for i in range(random.randrange(2, 5))] load_factor = rnd.random() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit