File tree Expand file tree Collapse file tree
tools/make/lib/test-fixtures Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# This target runs scripts written in C to generate test fixtures.
77
88test-fixtures-c :
9- $(QUIET ) $(FIND_C_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
9+ $(QUIET ) set -o pipefail ; $(FIND_C_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
1010 echo " " ; \
1111 echo " Generating test fixtures: $$ file" ; \
1212 cd ` dirname $$ file` && \
Original file line number Diff line number Diff line change 66# This target runs scripts written in C++ to generate test fixtures.
77
88test-fixtures-cpp :
9- $(QUIET ) $(FIND_CPP_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
9+ $(QUIET ) set -o pipefail ; $(FIND_CPP_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
1010 echo " " ; \
1111 echo " Generating test fixtures: $$ file" ; \
1212 cd ` dirname $$ file` && \
Original file line number Diff line number Diff line change 66# This target runs scripts written in Fortran to generate test fixtures.
77
88test-fixtures-fortran :
9- $(QUIET ) $(FIND_FORTRAN_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
9+ $(QUIET ) set -o pipefail ; $(FIND_FORTRAN_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
1010 echo " " ; \
1111 echo " Generating test fixtures: $$ file" ; \
1212 cd ` dirname $$ file` && \
Original file line number Diff line number Diff line change 66# This target runs scripts written in Julia to generate test fixtures. Note that we assume the scripts can be run using Julia.
77
88test-fixtures-julia :
9- $(QUIET ) $(FIND_JULIA_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
9+ $(QUIET ) set -o pipefail ; $(FIND_JULIA_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
1010 echo " " ; \
1111 echo " Generating test fixtures: $$ file" ; \
1212 $(MAKE_EXECUTABLE ) $$ file && $$ file || exit 1; \
Original file line number Diff line number Diff line change 66# This target runs scripts written in Python to generate test fixtures.
77
88test-fixtures-python :
9- $(QUIET ) $(FIND_PYTHON_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
9+ $(QUIET ) set -o pipefail ; $(FIND_PYTHON_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
1010 echo " " ; \
1111 echo " Generating test fixtures: $$ file" ; \
1212 $(PYTHON ) $$ file || exit 1; \
Original file line number Diff line number Diff line change 66# This target runs scripts written in R to generate test fixtures. Note that we assume the scripts can be run using R.
77
88test-fixtures-r :
9- $(QUIET ) $(FIND_R_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
9+ $(QUIET ) set -o pipefail ; $(FIND_R_TESTS_FIXTURES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
1010 echo " " ; \
1111 echo " Generating test fixtures: $$ file" ; \
1212 $(MAKE_EXECUTABLE ) $$ file && $$ file || exit 1; \
You can’t perform that action at this time.
0 commit comments