Update test framework: fix run_tests.py to support all test files, add auto-import-check for test files

This commit is contained in:
qiaoxinjiu
2026-05-09 15:11:30 +08:00
parent eb053a347f
commit eaba8328da
21739 changed files with 2236758 additions and 719 deletions

22
node_modules/bintrees/Makefile generated vendored Normal file
View File

@@ -0,0 +1,22 @@
all: dist/rbtree.min.js dist/bintree.min.js
dist/rbtree.js: lib/rbtree.js lib/treebase.js
./node_modules/.bin/reunion --ns RBTree $< > $@
dist/bintree.js: lib/bintree.js lib/treebase.js
./node_modules/.bin/reunion --ns BinTree $< > $@
dist/bintree.min.js: dist/bintree.js
curl --data-urlencode "js_code@$<" \
-d "output_info=compiled_code&compilation_level=SIMPLE_OPTIMIZATIONS" \
http://closure-compiler.appspot.com/compile \
> $@
dist/rbtree.min.js: dist/rbtree.js
curl --data-urlencode "js_code@$<" \
-d "output_info=compiled_code&compilation_level=SIMPLE_OPTIMIZATIONS" \
http://closure-compiler.appspot.com/compile \
> $@