Skip to content

Commit

Permalink
temporary commit to test new Test262
Browse files Browse the repository at this point in the history
  • Loading branch information
justingrant committed Jan 11, 2023
1 parent 484ebd7 commit 6f468c4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions polyfill/ci_codecov_test262.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,22 @@ node runtest262.mjs "test262/test/built-ins/Date/*/toTemporalInstant/*.js" || [
for subdir in $subdirs; do
node runtest262.mjs "$subdir/**" || failed=1
done
# node runtest262.mjs "test262/test/intl402/**/*[tT]emporal*.js" || failed=1
node runtest262.mjs "test262/test/intl402/DateTimeFormat/**/*.js" || failed=1
node runtest262.mjs "test262/test/intl402/Intl/DateTimeFormat/**/*.js" || [ $? = 66 ] || failed=1
node runtest262.mjs "test262/test/staging/Intl402/Temporal/**/*.js" || failed=1

# TODO - remove these, only for testing
node runtest262.mjs "test262/test/intl402/DateTimeFormat/prototype/format/timedatestyle-en.js"
node runtest262.mjs "test262/test/intl402/DateTimeFormat/prototype/formatRange/en-US.js" || failed=1
node runtest262.mjs "test262/test/intl402/DateTimeFormat/prototype/formatRange/fractionalSecondDigits.js" || failed=1
node runtest262.mjs "test262/test/intl402/DateTimeFormat/prototype/formatRangeToParts/en-US.js" || failed=1
node runtest262.mjs "test262/test/intl402/DateTimeFormat/prototype/formatRangeToParts/fractionalSecondDigits.js" || failed=1

node runtest262.mjs "test262/test/intl402/**/*[tT]emporal*.js" || failed=1
# TODO: remove the line above and uncomment the three lines below to run tests for all localilzed
# date formatting, because the Temporal polyfill replaces the entire DateTimeFormat object.
# node runtest262.mjs "test262/test/intl402/DateTimeFormat/**/*.js" || failed=1
# node runtest262.mjs "test262/test/intl402/Intl/DateTimeFormat/**/*.js" || [ $? = 66 ] || failed=1
# node runtest262.mjs "test262/test/built-ins/Date/*/toLocaleString/*.js" || failed=1

c8 report --reporter=text-lcov --temp-directory=$NODE_V8_COVERAGE \
--exclude=polyfill/runtest262.mjs \
--exclude-after-remap > coverage/test262.lcov
Expand Down

0 comments on commit 6f468c4

Please sign in to comment.