【文件属性】:
文件名称:unicode-property-escapes-tests:测试RegExp Unicode属性转义
文件大小:570KB
文件格式:ZIP
更新时间:2021-05-26 10:44:05
unicode ecmascript unicode-property-escapes test262 JavaScript
测试RegExp Unicode属性转义
该存储库托管一个脚本,该脚本为生成测试。
是在每次Unicode标准更新时(即每年)更新脚本,并将其输出上游传递给 。
生成测试
克隆存储库,然后运行:
npm install
npm run build
output目录保存生成的测试文件,准备将其上传到。
要使用在V8中运行测试,请执行以下操作:
test262-harness --test262Dir= " $HOME /projects/test262 " --hostPath= " $HOME /.jsvu/v8 " --hostType=d8 --hostArgs= ' --harmony-regexp-property ' $( find output -name ' *.js ' ) --threads=4
假设您已经在~/projects/test262处签出,并在处构