Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 62c3c69

Browse files
committed
Delete obsolete test data after building test pages
1 parent 52ab37b commit 62c3c69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tasks/update-tests.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ module.exports = function(grunt) {
167167
grunt.log.ok(dir);
168168
var files = grunt.file.expand(
169169
LIBS.path.resolve(srcTestsDir, dir) + '/**'
170-
)
170+
);
171171
files.forEach(function(srcPath) {
172172
if (! grunt.file.isFile(srcPath)) {
173173
return;
@@ -229,10 +229,10 @@ module.exports = function(grunt) {
229229
},
230230

231231
function(asyncTaskDone) {
232-
grunt.log.writeln('cleaning up temporary directory...');
232+
grunt.log.writeln('cleaning up temporary directories...');
233233
grunt.util.spawn({
234234
cmd: 'rm',
235-
args: ['-rf', tempDir]
235+
args: ['-rf', tempDir, DEST_TESTS_DIR + '/test', DEST_TESTS_DIR + '/tools']
236236
}, function(err) {
237237
asyncTaskDone(err);
238238
});

tests/test262/pages/ch08/8.0/8.0_L15.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142

143143

144144
testBuiltInObject(fnGlobalObject().IntlPolyfill, false, false, []);
145-
testBuiltInObject(IntlPolyfill, false, false, [/*"Collator", */"NumberFormat", "DateTimeFormat"]);
145+
testBuiltInObject(IntlPolyfill, false, false, [/*"Collator",*/ "NumberFormat", "DateTimeFormat"]);
146146

147147

148148
//</script></body></html>

0 commit comments

Comments
 (0)