Skip to content

Inconsistent results between Git Bash and Command Line/Powershell #99

@irrationalRock

Description

@irrationalRock

Currently when running test262-harness test/**/*.js on the command line or Powershell it gives a totally different result than running it on Git Bash.

Step to reproduce:

  1. run test262-harness test/**/*.js on either command line or powershell.

Results:
Git Bash: 205 tests run
Powershell/Command Line: 58797 tests run

Here is an example of the output:

  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/bigint-errors.js (default)
  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/bigint-errors.js (strict mode)
  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/bigint-toprimitive.js (default)
  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/bigint-toprimitive.js (strict mode)
  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/bigint-wrapped-values.js (default)
  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/bigint-wrapped-values.js (strict mode)
  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/coerce-bigint-to-string.js (default)
  Expected no error, got SyntaxError: Invalid or unexpected token

FAIL test/language/expressions/addition/coerce-bigint-to-string.js (strict mode)
  Expected no error, got SyntaxError: Invalid or unexpected token

Expected Result:
The tests should be consistent.

Version: 3.5
OS: Windows: 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions