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

enable remote example #2173

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Changes from all commits
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
14 changes: 8 additions & 6 deletions scripts/run_cpp_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,14 @@ execute_example() {
echo -n " - ${example}: "

# skip marked examples if we are in distributed mode
for ex in "${skip_local[@]}"; do
if [[ $ex == $example ]]; then
echo "skipped"
return
fi
done
if [[ $distributed == 0 ]]; then
for ex in "${skip_local[@]}"; do
if [[ $ex == $example ]]; then
echo "skipped"
return
fi
done
fi

# run the example and redirect its output
mkdir -p ${path}
Expand Down