diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/tools/scripts/id2path.js')
m--------- | tests/wpt/web-platform-tests | 0 | ||||
-rw-r--r-- | tests/wpt/web-platform-tests/tools/scripts/id2path.js | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests deleted file mode 160000 -Subproject 29dfb8944e535d439ca94cf7d1b1d9138a8ad11 diff --git a/tests/wpt/web-platform-tests/tools/scripts/id2path.js b/tests/wpt/web-platform-tests/tools/scripts/id2path.js new file mode 100644 index 00000000000..39b8d644bc5 --- /dev/null +++ b/tests/wpt/web-platform-tests/tools/scripts/id2path.js @@ -0,0 +1,12 @@ + +var fs = require("fs") +, pth = require("path") +, id = process.argv[2] +; + +if (!id) { + console.log("Missing ID"); + process.exit(1); +} + +console.log(JSON.parse(fs.readFileSync(pth.join(__dirname, "id2path.json"), "utf8"))[id]); |