Skip to content

Commit e6919f8

Browse files
committed
260208.064959.CET [skip test] revise mex_gateways/tests/makefile/Makefile.common to let mex linting print the command before running
1 parent 9565d90 commit e6919f8

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

fortran/tests/tools/flint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ for COMP in $COMP_LIST; do
161161
export FFLAGS=$FLG
162162
make clean
163163
INFO="$(make "$COMP"test_"$TEST"_tst_c."$SOLVER" 2>&1 \
164+
| grep -v "grep -v" \
164165
| grep -v "binary\ file\ matches\|info,\ callback_fcn" \
165166
| grep -i "starts\|warning\|error\|info\|abort\|invalid\|violation\|fault\|illegal\|fail\|questionable\|remark\|attention\|Could\ not\ resolve\|not\ defined\|not\ public\ entity" \
166167
| grep -vi "[0-9]\s*warning\|[0-9]\s*error\|[0-9]\s*info\|infos.f90\|information\|xhist, info)\|zmat, info)\|--warning\|--error" \

fortran/tests/tools/mlint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ for COMP in $COMP_LIST; do
170170
printf "%s\t" "$FLG"
171171
export FFLAGS=$FLG
172172
INFO="$(make "$COMP"test_"$TEST"_tst."$SOLVER" 2>&1 \
173+
| grep -v "grep -v" \
173174
| grep -v "binary\ file\ matches\|info,\ callback_fcn" \
174175
| grep -i "starts\|warning\|error\|info\|abort\|invalid\|violation\|fault\|illegal\|fail\|questionable\|remark\|attention\|Could\ not\ resolve" \
175176
| grep -vi "[0-9]\s*warning\|[0-9]\s*error\|[0-9]\s*info\|infos.f90\|information\|xhist, info)\|zmat, info)\|--warning\|--error" \

matlab/mex_gateways/tests/makefiles/Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ $(TESTS) $(TESTS_INT):
471471
$(eval RP := $(shell expr 8 \* $$(echo $@ | sed "s/.*_r//" | sed "s/_.*//")))
472472
$(eval QPAVLB := $(shell expr $$(echo $@ | sed "s/.*_r//" | sed "s/_.*//") / 16))
473473
$(eval EXTRA_FLAGS := -DPRIMA_DEBUGGING=$(DBG) -DPRIMA_INTEGER_KIND=$(IK) -DPRIMA_REAL_PRECISION=$(RP) -DPRIMA_QP_AVAILABLE=$(QPAVLB))
474-
@($(FC1) $(EXTRA_FLAGS) -c $(SRC) && $(FC2) $(EXTRA_FLAGS) -c $(SRC)) 2>&1 \
474+
($(FC1) $(EXTRA_FLAGS) -c $(SRC) && $(FC2) $(EXTRA_FLAGS) -c $(SRC)) 2>&1 \
475475
| grep -v "^[[:blank:]]*$$" \
476476
| grep -v "Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking" \
477477
| grep -v "after the END INTERFACE keywords is only legal in Fortran 95 and beyond" \

0 commit comments

Comments
 (0)