(cls)
| 419 | |
| 420 | @classmethod |
| 421 | def setUpClass(cls): |
| 422 | super().setUpClass() |
| 423 | |
| 424 | fingerprint = ['including compilation', time.asctime()] |
| 425 | try: |
| 426 | fingerprint.append('em: ' + run_process(['git', 'show'], stdout=PIPE).stdout.splitlines()[0]) |
| 427 | except Exception: |
| 428 | pass |
| 429 | try: |
| 430 | with common.chdir(os.path.expanduser('~/Dev/mozilla-central')): |
| 431 | hg_tip = run_process(['hg', 'tip'], stdout=PIPE).stdout |
| 432 | fingerprint.append('sm: ' + next(line for line in hg_tip.splitlines() if 'changeset' in line)) |
| 433 | except Exception: |
| 434 | pass |
| 435 | fingerprint.append('llvm: ' + config.LLVM_ROOT) |
| 436 | print('Running Emscripten benchmarks... [ %s ]' % ' | '.join(fingerprint)) |
| 437 | |
| 438 | @classmethod |
| 439 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected