Skip to content

Run Intl tests in V8 CI #39053

Description

@targos

Maybe that would prevent regressions like #39050

Activity

  1. added
    v8 engineIssues and PRs related to the V8 dependency.
    testIssues and PRs related to Node.js core tests and test infrastructure.
    on Jun 16, 2021
  2. richardlau commented on Jun 16, 2021

    @richardlau
    Member

    I added running make test-v8-intl to the CI job but that failed as we were still passing --mode to the test runner: https://ci.nodejs.org/job/node-test-commit-v8-linux/nodes=benchmark-ubuntu1604-intel-64,v8test=v8test/4059/console

    11:56:05 	deps/v8/tools/run-tests.py --gn --arch=x64 \
    11:56:05 			--mode=release intl \
    11:56:05 			--junitout /home/iojs/build/workspace/node-test-commit-v8-linux/v8-intl-tap.xml
    11:56:05 Usage: run-tests.py [options] [tests]
    11:56:05 
    11:56:05 run-tests.py: error: no such option: --mode
    11:56:05 Makefile:668: recipe for target 'test-v8-intl' failed
    

    PR: #39055

  3. richardlau commented on Jun 16, 2021

    @richardlau
    Member

    Adding a second make target (test-v8-intl) caused a second V8 build (since the dependencyv8 target is .PHONY and therefore always run). I've changed the job instead to add intl to the end of V8_TEST_EXTRA_OPTIONS:

    node/Makefile

    Lines 661 to 663 in e4eadb2

    deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) $(V8_TEST_OPTIONS) \
    mjsunit cctest debugger inspector message preparser \
    $(TAP_V8)

    I ran a build against v14.x-staging: https://ci.nodejs.org/job/node-test-commit-v8-linux/4063/
    This appears to have run intl tests -- they all passed so it isn't catching #39050: https://ci.nodejs.org/job/node-test-commit-v8-linux/4063/nodes=benchmark-ubuntu1604-intel-64,v8test=v8test/testReport/(root)/v8tests/

  4. targos commented on Jun 20, 2021

    @targos
    MemberAuthor

    they all passed so it isn't catching #39050

    Yeah, I think I was wrong thinking that it could catch things like that make test-v8 doesn't use our version of ICU, but the one V8 directly depends on.

  5. targos commented on Jun 20, 2021

    @targos
    MemberAuthor

    Anyway, thanks for making the changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to Node.js core tests and test infrastructure.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions