Page MenuHomePhabricator

scripts: rename test_64bit_PE to test_PE
ClosedPublic

Authored by PiRK on Apr 4 2023, 09:24.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC6d216bf2eb45: scripts: rename test_64bit_PE to test_PE
Summary
Test Plan

I ran this test locally, but it fails for reasons unrelated to this diff (same on master)

FAIL: test_PE (__main__.TestSecurityChecks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pierre/dev/bitcoin-abc/contrib/devtools/./test-security-check.py", line 56, in test_PE
    self.assertEqual(call_security_check(cc, source, executable, ['-Wl,--no-nxcompat', '-Wl,--no-dynamicbase', '-Wl,--no-high-entropy-va', '-no-pie', '-fno-PIE']),
AssertionError: Tuples differ: (1, 'test1.exe: failed DYNAMIC_BASE HIGH_ENTROPY_VA NX') != (1, 'test1.exe: failed DYNAMIC_BASE HIGH_ENTROPY_VA NX RELOC_SECTION')

First differing element 1:
'test1.exe: failed DYNAMIC_BASE HIGH_ENTROPY_VA NX'
'test1.exe: failed DYNAMIC_BASE HIGH_ENTROPY_VA NX RELOC_SECTION'

- (1, 'test1.exe: failed DYNAMIC_BASE HIGH_ENTROPY_VA NX')
+ (1, 'test1.exe: failed DYNAMIC_BASE HIGH_ENTROPY_VA NX RELOC_SECTION')
?                                                       ++++++++++++++

Just check that the test still runs (and fails) after the renaming.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK published this revision for review.Apr 4 2023, 13:45
PiRK edited the test plan for this revision. (Show Details)
PiRK edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Apr 4 2023, 14:01
This revision was automatically updated to reflect the committed changes.