diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-20 21:49:17 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-20 21:49:17 -0800 |
commit | 4638b1af11542355a58f89c146aaf8aa49f69c49 (patch) | |
tree | 8756f053f200e3fbe656eb98964f30f0c640a419 /tests | |
parent | 46e24fd04435a76d7ee8060963c6142ab27ade6f (diff) |
really fix openjpeg
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py index 483c700e..547aa45c 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -3889,13 +3889,13 @@ def process(filename): Settings.CORRECT_SIGNS = 2 Settings.CORRECT_SIGNS_LINES = ["mqc.c:566", "mqc.c:317"] - original_j2k = path_from_root('tests', 'openjpeg', 'syntensity_lobby_s.j2k') - post = ''' def process(filename): + import tools.shared as shared + original_j2k = shared.path_from_root('tests', 'openjpeg', 'syntensity_lobby_s.j2k') src = open(filename, 'r').read().replace( '// {{PRE_RUN_ADDITIONS}}', - "FS.createDataFile('/', 'image.j2k', %s, true, false);FS.root.write = true;" % line_splitter(str( + "FS.createDataFile('/', 'image.j2k', %s, true, false);FS.root.write = true;" % shared.line_splitter(str( map(ord, open(original_j2k, 'rb').read()) )) ).replace( |