Permalink
Please sign in to comment.
Browse files
OPy regtest.
I made a snapshot of all relevant files in opy/_regtest/src. opy/regtest.sh has shell functions to compile everything. opy/dis-md5.golden.txt is the golden data, which I verified on two machines. Everything is deterministic!
- Loading branch information...
Showing
with
67,431 additions
and 22 deletions.
- +8 −7 .gitignore
- +222 −0 opy/_regtest/dis-md5.golden.txt
- +439 −0 opy/_regtest/src/Lib/posixpath.py
- +213 −0 opy/_regtest/src/UserDict.py
- +128 −0 opy/_regtest/src/__future__.py
- 0 opy/_regtest/src/__init__.py
- +695 −0 opy/_regtest/src/_abcoll.py
- 0 opy/_regtest/src/_devbuild/__init__.py
- 0 opy/_regtest/src/_devbuild/gen/__init__.py
- +894 −0 opy/_regtest/src/_devbuild/gen/osh_asdl.py
- +96 −0 opy/_regtest/src/_devbuild/gen/osh_help.py
- +252 −0 opy/_regtest/src/_devbuild/gen/runtime_asdl.py
- +39 −0 opy/_regtest/src/_devbuild/gen/types_asdl.py
- +204 −0 opy/_regtest/src/_weakrefset.py
- +185 −0 opy/_regtest/src/abc.py
- 0 opy/_regtest/src/asdl/__init__.py
- +19 −0 opy/_regtest/src/asdl/arith_ast.py
- +197 −0 opy/_regtest/src/asdl/arith_ast_test.py
- +246 −0 opy/_regtest/src/asdl/arith_parse.py
- +223 −0 opy/_regtest/src/asdl/arith_parse_test.py
- +613 −0 opy/_regtest/src/asdl/asdl_.py
- +86 −0 opy/_regtest/src/asdl/asdl_demo.py
- +36 −0 opy/_regtest/src/asdl/const.py
- +294 −0 opy/_regtest/src/asdl/encode.py
- +37 −0 opy/_regtest/src/asdl/encode_test.py
- +570 −0 opy/_regtest/src/asdl/format.py
- +49 −0 opy/_regtest/src/asdl/format_test.py
- +399 −0 opy/_regtest/src/asdl/gen_cpp.py
- +135 −0 opy/_regtest/src/asdl/gen_python.py
- +309 −0 opy/_regtest/src/asdl/py_meta.py
- +18 −0 opy/_regtest/src/asdl/py_meta_test.py
- +230 −0 opy/_regtest/src/asdl/tdop.py
- +118 −0 opy/_regtest/src/asdl/visitor.py
- +66 −0 opy/_regtest/src/atexit.py
- 0 opy/_regtest/src/benchmarks/__init__.py
- +14 −0 opy/_regtest/src/benchmarks/fake_libc.py
- +93 −0 opy/_regtest/src/benchmarks/pytrace.py
- +67 −0 opy/_regtest/src/benchmarks/time.py
- +104 −0 opy/_regtest/src/benchmarks/virtual_memory.py
- 0 opy/_regtest/src/bin/__init__.py
- +623 −0 opy/_regtest/src/bin/oil.py
- +88 −0 opy/_regtest/src/bin/opy_.py
- +148 −0 opy/_regtest/src/build/app_deps.py
- +27 −0 opy/_regtest/src/build/app_deps_test.py
- +59 −0 opy/_regtest/src/build/c_module_srcs.py
- +40 −0 opy/_regtest/src/build/c_module_toc.py
- +51 −0 opy/_regtest/src/build/make_zip.py
- +340 −0 opy/_regtest/src/build/quick_ref.py
- +97 −0 opy/_regtest/src/build/runpy_deps.py
- +11 −0 opy/_regtest/src/build/setup.py
- +14 −0 opy/_regtest/src/build/setup_fastlex.py
- +7 −0 opy/_regtest/src/build/testdata/future_import.py
- +80 −0 opy/_regtest/src/build/testdata/hello.py
- +13 −0 opy/_regtest/src/build/testdata/lib.py
- +1,113 −0 opy/_regtest/src/codecs.py
- +743 −0 opy/_regtest/src/collections.py
- +434 −0 opy/_regtest/src/copy.py
- +201 −0 opy/_regtest/src/copy_reg.py
- 0 opy/_regtest/src/core/__init__.py
- +195 −0 opy/_regtest/src/core/alloc.py
- +55 −0 opy/_regtest/src/core/alloc_test.py
- +480 −0 opy/_regtest/src/core/args.py
- +182 −0 opy/_regtest/src/core/args_test.py
- +268 −0 opy/_regtest/src/core/braces.py
- +149 −0 opy/_regtest/src/core/braces_test.py
- +1,266 −0 opy/_regtest/src/core/builtin.py
- +43 −0 opy/_regtest/src/core/builtin_test.py
- +1,533 −0 opy/_regtest/src/core/cmd_exec.py
- +137 −0 opy/_regtest/src/core/cmd_exec_test.py
- +815 −0 opy/_regtest/src/core/completion.py
- +287 −0 opy/_regtest/src/core/completion_test.py
- +631 −0 opy/_regtest/src/core/expr_eval.py
- +215 −0 opy/_regtest/src/core/glob_.py
- +122 −0 opy/_regtest/src/core/glob_test.py
- +445 −0 opy/_regtest/src/core/id_kind.py
- +172 −0 opy/_regtest/src/core/id_kind_gen.py
- +103 −0 opy/_regtest/src/core/id_kind_test.py
- +392 −0 opy/_regtest/src/core/legacy.py
- +160 −0 opy/_regtest/src/core/legacy_test.py
- +262 −0 opy/_regtest/src/core/lexer.py
- +343 −0 opy/_regtest/src/core/lexer_gen.py
- +50 −0 opy/_regtest/src/core/lexer_gen_test.py
- +46 −0 opy/_regtest/src/core/lexer_test.py
- +160 −0 opy/_regtest/src/core/libstr.py
- +45 −0 opy/_regtest/src/core/libstr_test.py
- +660 −0 opy/_regtest/src/core/process.py
- +148 −0 opy/_regtest/src/core/process_test.py
- +116 −0 opy/_regtest/src/core/reader.py
- +52 −0 opy/_regtest/src/core/reader_test.py
- +819 −0 opy/_regtest/src/core/state.py
- +294 −0 opy/_regtest/src/core/state_test.py
- +354 −0 opy/_regtest/src/core/tdop.py
- +207 −0 opy/_regtest/src/core/test_builtin.py
- +71 −0 opy/_regtest/src/core/test_lib.py
- +146 −0 opy/_regtest/src/core/ui.py
- +265 −0 opy/_regtest/src/core/util.py
- +46 −0 opy/_regtest/src/core/util_test.py
- +569 −0 opy/_regtest/src/core/word.py
- +109 −0 opy/_regtest/src/core/word_compile.py
- +935 −0 opy/_regtest/src/core/word_eval.py
- +25 −0 opy/_regtest/src/core/word_eval_test.py
- +19 −0 opy/_regtest/src/core/word_test.py
- +225 −0 opy/_regtest/src/dis.py
- +145 −0 opy/_regtest/src/dummy_thread.py
- +157 −0 opy/_regtest/src/encodings/__init__.py
- +527 −0 opy/_regtest/src/encodings/aliases.py
- +42 −0 opy/_regtest/src/encodings/utf_8.py
- +100 −0 opy/_regtest/src/functools.py
- +113 −0 opy/_regtest/src/genericpath.py
- +667 −0 opy/_regtest/src/gettext.py
- +221 −0 opy/_regtest/src/hashlib.py
- +484 −0 opy/_regtest/src/heapq.py
- +90 −0 opy/_regtest/src/io.py
- +93 −0 opy/_regtest/src/keyword.py
- +139 −0 opy/_regtest/src/linecache.py
- +2,065 −0 opy/_regtest/src/locale.py
- +1,744 −0 opy/_regtest/src/logging/__init__.py
- +71 −0 opy/_regtest/src/native/fastlex_test.py
- +94 −0 opy/_regtest/src/native/libc_test.py
- 0 opy/_regtest/src/oil/__init__.py
- +192 −0 opy/_regtest/src/opcode.py
- +1,704 −0 opy/_regtest/src/optparse.py
- 0 opy/_regtest/src/opy/__init__.py
- 0 opy/_regtest/src/opy/byterun/__init__.py
- +43 −0 opy/_regtest/src/opy/byterun/execfile.py
- +237 −0 opy/_regtest/src/opy/byterun/pyobj.py
- +1,066 −0 opy/_regtest/src/opy/byterun/pyvm2.py
- +658 −0 opy/_regtest/src/opy/byterun/test_basic.py
- +168 −0 opy/_regtest/src/opy/byterun/test_exceptions.py
- +393 −0 opy/_regtest/src/opy/byterun/test_functions.py
- +345 −0 opy/_regtest/src/opy/byterun/test_with.py
- +97 −0 opy/_regtest/src/opy/byterun/vmtest.py
- +477 −0 opy/_regtest/src/opy/callgraph.py
- +55 −0 opy/_regtest/src/opy/callgraph_demo.py
- +28 −0 opy/_regtest/src/opy/callgraph_test.py
- 0 opy/_regtest/src/opy/compiler2/__init__.py
- +1,419 −0 opy/_regtest/src/opy/compiler2/ast.py
- +23 −0 opy/_regtest/src/opy/compiler2/consts.py
- +76 −0 opy/_regtest/src/opy/compiler2/future.py
- +88 −0 opy/_regtest/src/opy/compiler2/misc.py
- +192 −0 opy/_regtest/src/opy/compiler2/opcode.py
- +769 −0 opy/_regtest/src/opy/compiler2/pyassem.py
- +26 −0 opy/_regtest/src/opy/compiler2/pyassem_test.py
- +1,547 −0 opy/_regtest/src/opy/compiler2/pycodegen.py
- +410 −0 opy/_regtest/src/opy/compiler2/symbols.py
- +70 −0 opy/_regtest/src/opy/compiler2/symbols_test.py
- +48 −0 opy/_regtest/src/opy/compiler2/syntax.py
- +1,578 −0 opy/_regtest/src/opy/compiler2/transformer.py
- +113 −0 opy/_regtest/src/opy/compiler2/visitor.py
- 0 opy/_regtest/src/opy/misc/__init__.py
- +18 −0 opy/_regtest/src/opy/misc/ccompile.py
- +39 −0 opy/_regtest/src/opy/misc/determinism.py
- +248 −0 opy/_regtest/src/opy/misc/inspect_pyc.py
- +31 −0 opy/_regtest/src/opy/misc/pgen_ast.py
- +66 −0 opy/_regtest/src/opy/misc/py_ast.py
- +56 −0 opy/_regtest/src/opy/misc/stdlib_compile.py
- +372 −0 opy/_regtest/src/opy/opy_main.py
- +4 −0 opy/_regtest/src/opy/pgen2/__init__.py
- +106 −0 opy/_regtest/src/opy/pgen2/driver.py
- +222 −0 opy/_regtest/src/opy/pgen2/grammar.py
- +206 −0 opy/_regtest/src/opy/pgen2/parse.py
- +400 −0 opy/_regtest/src/opy/pgen2/pgen.py
- +85 −0 opy/_regtest/src/opy/pgen2/token.py
- +579 −0 opy/_regtest/src/opy/pgen2/tokenize.py
- +827 −0 opy/_regtest/src/opy/pytree.py
- +2 −0 opy/_regtest/src/opy/testdata/hello_py2.py
- +2 −0 opy/_regtest/src/opy/testdata/hello_py2_print.py
- +1 −0 opy/_regtest/src/opy/testdata/hello_py3.py
- +28 −0 opy/_regtest/src/opy/tests/genexpr.py
- +12 −0 opy/_regtest/src/opy/tests/genexpr_simple.py
- +295 −0 opy/_regtest/src/opy/tools/astgen.py
- +52 −0 opy/_regtest/src/opy/tools/compile.py
- +38 −0 opy/_regtest/src/opy/tools/demo.py
- +80 −0 opy/_regtest/src/opy/tools/regrtest.py
- +43 −0 opy/_regtest/src/opy/tools/stacktest.py
- +52 −0 opy/_regtest/src/opy/util_opy.py
- +742 −0 opy/_regtest/src/os.py
- 0 opy/_regtest/src/osh/__init__.py
- +185 −0 opy/_regtest/src/osh/arith_parse.py
- +170 −0 opy/_regtest/src/osh/arith_parse_test.py
- +34 −0 opy/_regtest/src/osh/ast_gen.py
- +110 −0 opy/_regtest/src/osh/ast_lib.py
- +272 −0 opy/_regtest/src/osh/bool_parse.py
- +126 −0 opy/_regtest/src/osh/bool_parse_test.py
- +1,555 −0 opy/_regtest/src/osh/cmd_parse.py
- +1,303 −0 opy/_regtest/src/osh/cmd_parse_test.py
- +524 −0 opy/_regtest/src/osh/lex.py
- +247 −0 opy/_regtest/src/osh/lex_test.py
- +205 −0 opy/_regtest/src/osh/meta.py
- +145 −0 opy/_regtest/src/osh/parse_lib.py
- +1,239 −0 opy/_regtest/src/osh/word_parse.py
- +518 −0 opy/_regtest/src/osh/word_parse_test.py
- +1,397 −0 opy/_regtest/src/pickle.py
- +591 −0 opy/_regtest/src/pkgutil.py
- +1,620 −0 opy/_regtest/src/platform.py
- +439 −0 opy/_regtest/src/posixpath.py
- +340 −0 opy/_regtest/src/re.py
- +290 −0 opy/_regtest/src/runpy.py
- +5 −0 opy/_regtest/src/spec/bin/argv.py
- +8 −0 opy/_regtest/src/spec/bin/printenv.py
- +28 −0 opy/_regtest/src/spec/bin/read_from_fd.py
- +28 −0 opy/_regtest/src/spec/bin/show_fd_table.py
- +23 −0 opy/_regtest/src/spec/bin/stdout_stderr.py
- +36 −0 opy/_regtest/src/spec/coproc.py
- +596 −0 opy/_regtest/src/sre_compile.py
- +264 −0 opy/_regtest/src/sre_constants.py
- +836 −0 opy/_regtest/src/sre_parse.py
- +96 −0 opy/_regtest/src/stat.py
- +656 −0 opy/_regtest/src/string.py
- +3 −0 opy/_regtest/src/struct.py
- +981 −0 opy/_regtest/src/test/sh_spec.py
- +104 −0 opy/_regtest/src/test/sh_spec_test.py
- +602 −0 opy/_regtest/src/test/wild_report.py
- +430 −0 opy/_regtest/src/textwrap.py
- 0 opy/_regtest/src/tools/__init__.py
- +35 −0 opy/_regtest/src/tools/csv_concat.py
- +157 −0 opy/_regtest/src/tools/deps.py
- +1,211 −0 opy/_regtest/src/tools/osh2oil.py
- +82 −0 opy/_regtest/src/tools/osh2oil_test.py
- +320 −0 opy/_regtest/src/traceback.py
- +86 −0 opy/_regtest/src/types.py
- +422 −0 opy/_regtest/src/warnings.py
- +458 −0 opy/_regtest/src/weakref.py
- +369 −0 opy/_regtest/src/web/table/csv2html.py
- +3 −15 opy/build.sh
- +16 −0 opy/common.sh
- +83 −0 opy/regtest.sh
0 comments on commit
4876154