Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dart to executors #65

Merged
merged 21 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changes as per review
  • Loading branch information
mosuem committed Jun 6, 2023
commit 9aabdeeb70cb994dfc5cc29c3d9d7d0ba27a9ca7
14 changes: 1 addition & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,4 @@ DDT_DATA/test*/*
testdriver/.local-chrome/
testgen/*.json

TEMP_DATA/*

executors/dart_web/.dart_tool
executors/dart_web/dart_web_client/.dart_tool
executors/dart_native/.dart_tool

executors/dart_web/build/
executors/dart_web/dart_web_client/build/
executors/dart_native/build/

executors/dart_web/pubspec.lock
executors/dart_web/dart_web_client/pubspec.lock
executors/dart_native/pubspec.lock
TEMP_DATA/*
5 changes: 5 additions & 0 deletions executors/dart_native/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bin/executor.exe

.dart_tool
build/
pubspec.lock
Binary file removed executors/dart_native/bin/executor.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions executors/dart_web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bin/executor.exe

.dart_tool
build/
pubspec.lock
Binary file removed executors/dart_web/bin/executor.exe
mosuem marked this conversation as resolved.
Outdated
Show resolved Hide resolved
Binary file not shown.
3 changes: 3 additions & 0 deletions executors/dart_web/dart_web_client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.dart_tool
build/
pubspec.lock
17 changes: 10 additions & 7 deletions generateDataAndRun.sh
mosuem marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ mkdir -p $TEMP_DIR/testData

# Compile Rust executor code for ICU4X 1.0
pushd executors/rust/
# cargo clean
# rustup install 1.61
# rustup run 1.61 cargo build --release
cargo clean
rustup install 1.61
rustup run 1.61 cargo build --release
popd

pushd executors/dart_native/
Expand Down Expand Up @@ -56,10 +56,12 @@ mkdir -p $TEMP_DIR/testResults

# Invoke all tests on all platforms
cd testdriver
# python3 testdriver.py --exec node --test_type coll_shift_short number_fmt lang_names --file_base ../$TEMP_DIR --per_execution 10000
# echo $?
python3 testdriver.py --exec dartweb --test_type coll_shift_short --file_base ../$TEMP_DIR --per_execution 10 --run_limit 10
python3 testdriver.py --exec node --test_type coll_shift_short number_fmt lang_names --file_base ../$TEMP_DIR --per_execution 10000
echo $?
python3 testdriver.py --exec rust --test_type coll_shift_short number_fmt --file_base ../$TEMP_DIR --per_execution 10000
echo $?
# python3 testdriver.py --exec dartweb --test_type coll_shift_short --file_base ../$TEMP_DIR --per_execution 10 --run_limit 10
# echo $?
#python3 testdriver.py --exec cpp --test_type coll_shift_short --file_base ../$TEMP_DIR --per_execution 10000
#echo $?

Expand All @@ -71,8 +73,9 @@ echo $?
cd ..
mkdir -p $TEMP_DIR/testReports
cd verifier
python3 verifier.py --file_base ../$TEMP_DIR --exec dartweb --test_type coll_shift_short
python3 verifier.py --file_base ../$TEMP_DIR --exec rust node --test_type coll_shift_short number_fmt lang_names

#python3 verifier.py --file_base ../$TEMP_DIR --exec dartweb --test_type coll_shift_short
#python3 verifier.py --file_base ../$TEMP_DIR --exec cpp--test_type coll_shift_short number_fmt lang_names

#
Expand Down