OLD | NEW |
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This validator test was taken from branch "x86-64" in the repo: | 5 # This validator test was taken from branch "x86-64" in the repo: |
6 # https://github.com/mseaborn/x86-decoder | 6 # https://github.com/mseaborn/x86-decoder |
7 # The test was modified to address intentional validator differences. | 7 # The test was modified to address intentional validator differences. |
8 | 8 |
9 import subprocess | 9 import subprocess |
10 | 10 |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 | 248 |
249 def Main(): | 249 def Main(): |
250 for test_case in test_cases: | 250 for test_case in test_cases: |
251 test_case() | 251 test_case() |
252 print 'PASS' | 252 print 'PASS' |
253 | 253 |
254 | 254 |
255 if __name__ == '__main__': | 255 if __name__ == '__main__': |
256 Main() | 256 Main() |
OLD | NEW |