2022-02-05 00:37:25 +00:00
#!/bin/bash
2023-02-08 23:05:36 +00:00
paths = $( find . -regextype posix-extended -regex " ./integration_test/features/( $1 ).*feature " | sort | sed -z " s/\\n/','/g;s/,' $//;s/^/'/ " )
2022-02-05 00:37:25 +00:00
sed " s|featurePaths: REPLACED_BY_SCRIPT|featurePaths: <String>[ $paths ]| " integration_test/gherkin_suite_test.editable.dart > integration_test/gherkin_suite_test.dart
flutter pub run build_runner clean
flutter pub run build_runner build --delete-conflicting-outputs
2023-02-01 22:48:36 +00:00
PATH = $PATH :$PWD /linux/Tor
LD_LIBRARY_PATH = $LD_LIBRARY_PATH :" $PWD /linux/ " :" $PWD /linux/Tor/ "
2023-02-08 23:05:36 +00:00
LOG_LEVEL = debug PATH = $PATH LD_LIBRARY_PATH = $LD_LIBRARY_PATH LOG_FILE = /home/sarah/PARA/projects/cwtch/cwtch.log CWTCH_HOME = $PWD /integration_test/env/temp/ flutter test -d linux --dart-define TEST_MODE = true integration_test/gherkin_suite_test.dart
2023-02-01 22:48:36 +00:00
#node index2.js
#if [ "$HEADLESS" = "false" ]; then
# xdg-open integration_test/gherkin/reports/cucumber_report.html
#fi
2022-02-05 00:37:25 +00:00