diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-31 13:54:33 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-31 13:54:33 -0700 |
commit | 2fcfacdfadc44d6f5e6887e75b3601314322cd68 (patch) | |
tree | cbfdf49d9918c495c353dc8229c6a04475bc3dd9 | |
parent | 77fd3e6d5b83b9147b68393e0bc75a17f4d63d58 (diff) |
point relooper fuzzer to non-absolute path
-rw-r--r-- | src/relooper/fuzzer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/relooper/fuzzer.py b/src/relooper/fuzzer.py index 96929028..5f6bae3d 100644 --- a/src/relooper/fuzzer.py +++ b/src/relooper/fuzzer.py @@ -98,14 +98,14 @@ int main() { open('fuzz.slow.js', 'w').write(slow) open('fuzz.cpp', 'w').write(fast) print '_' - slow_out = subprocess.Popen(['/home/alon/Dev/odinmonkey/js/src/fast/js', '-m', '-n', 'fuzz.slow.js'], stdout=subprocess.PIPE).communicate()[0] + slow_out = subprocess.Popen(['mozjs', '-m', '-n', 'fuzz.slow.js'], stdout=subprocess.PIPE).communicate()[0] print '.' subprocess.call(['g++', 'fuzz.cpp', 'Relooper.o', '-o', 'fuzz', '-g']) print '*' subprocess.call(['./fuzz'], stdout=open('fuzz.fast.js', 'w')) print '-' - fast_out = subprocess.Popen(['/home/alon/Dev/odinmonkey/js/src/fast/js', '-m', '-n', 'fuzz.fast.js'], stdout=subprocess.PIPE).communicate()[0] + fast_out = subprocess.Popen(['mozjs', '-m', '-n', 'fuzz.fast.js'], stdout=subprocess.PIPE).communicate()[0] print if slow_out != fast_out: |