test: run test-abort-aliased-buffer-overflow#32626
test: run test-abort-aliased-buffer-overflow#32626richardlau wants to merge 1 commit intonodejs:masterfrom
Conversation
|
Looks like the test is failing on Windows. |
|
Updated to fix the Windows build. The workers CI is also failing, but I'll need to think for a bit (when it's not 3am in the morning) how to fix that because I can't just add |
nodejs#31740 added an addon-style test to `test/abort` that was never run because `test/abort/testcfg.py` uses the AbortTestConfiguration which inherits from SimpleTestConfiguration which only finds tests in the root of `test/abort`. Make AbortTestConfiguration inherit from AddonTestConfiguration and change AddonTestConfiguration to find the tests in the root of the test bucket in addition to the subfolders. Fixup `test-abort-aliased-buffer-overflow` so that it works as intended. Signed-off-by: Richard Lau <riclau@uk.ibm.com>
|
Fixed most of the broken CI by removing the abort tests from Lines 1487 to 1489 in b9da063 Compilation of the test is failing on Windows, e.g. https://ci.nodejs.org/job/node-test-binary-windows-native-suites/2398/nodes=win10-vs2019-COMPILED_BY-vs2019/console Is the Aliased*Buffer API external (in which case this looks like a bug)? If it's internal then this really shouldn't be tested as an addon (particularly with all the build file and test configuration changes it dragged in with it) and if we really want a test for it maybe as a cctest? (Although I don't know how cctest would handle testing that something aborts.) |
|
I'm going to close this in favour of reverting the test (just the test+Makefile changes): #33196 It doesn't seem that AliasedBuffers should be tested as an addon, and mixing addons |
#31740 added an addon-style test to
test/abortthat was never run becausetest/abort/testcfg.pyuses theAbortTestConfiguration which inherits from SimpleTestConfiguration which
only finds tests in the root of
test/abort.Make AbortTestConfiguration inherit from AddonTestConfiguration and
change AddonTestConfiguration to find the tests in the root of the test
bucket in addition to the subfolders.
Fixup
test-abort-aliased-buffer-overflowso that it works as intended.Refs: #31740
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes