Skip to content

Commit 2fcca62

Browse files
committed
Add successful test-case using dwt_59.mtx
1 parent c207405 commit 2fcca62

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

tests/smoke/smoketests.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,19 @@ for BACKEND in ${BACKENDS[@]}; do
261261
echo " This test employs the grb::Launcher in automatic mode. It uses"
262262
echo " direct-mode file IO."
263263
if [ -f ${INPUT_DIR}/west0497.mtx ] && [ "$BACKEND" != "bsp1d" ] && [ "$BACKEND" != "hybrid" ]; then
264-
$runner ${TEST_BIN_DIR}/bfs_${BACKEND} ${INPUT_DIR}/west0497.mtx direct 0 0 497 &> ${TEST_OUT_DIR}/bfs_${BACKEND}_${P}_${T}.log
265-
head -1 ${TEST_OUT_DIR}/bfs_${BACKEND}_${P}_${T}.log
266-
grep 'Test OK' ${TEST_OUT_DIR}/bfs_${BACKEND}_${P}_${T}.log || echo "Test FAILED"
264+
$runner ${TEST_BIN_DIR}/bfs_${BACKEND} ${INPUT_DIR}/west0497.mtx direct 0 0 497 &> ${TEST_OUT_DIR}/bfs_west0497_${BACKEND}_${P}_${T}.log
265+
head -1 ${TEST_OUT_DIR}/bfs_west0497_${BACKEND}_${P}_${T}.log
266+
grep 'Test OK' ${TEST_OUT_DIR}/bfs_west0497_${BACKEND}_${P}_${T}.log || echo "Test FAILED"
267267
else
268268
echo "Test DISABLED: west0497.mtx was not found. To enable, please provide ${INPUT_DIR}/west0497.mtx"
269269
fi
270+
if [ -f ${INPUT_DIR}/dwt_59.mtx ] && [ "$BACKEND" != "bsp1d" ] && [ "$BACKEND" != "hybrid" ]; then
271+
$runner ${TEST_BIN_DIR}/bfs_${BACKEND} ${INPUT_DIR}/dwt_59.mtx direct 0 1 13 &> ${TEST_OUT_DIR}/bfs_dwt_59_${BACKEND}_${P}_${T}.log
272+
head -1 ${TEST_OUT_DIR}/bfs_dwt_59_${BACKEND}_${P}_${T}.log
273+
grep 'Test OK' ${TEST_OUT_DIR}/bfs_dwt_59_${BACKEND}_${P}_${T}.log || echo "Test FAILED"
274+
else
275+
echo "Test DISABLED: dwt_59.mtx was not found. To enable, please provide ${INPUT_DIR}/dwt_59.mtx"
276+
fi
270277

271278
echo ">>> [x] [ ] Testing the BiCGstab algorithm for the 17361 x 17361 input"
272279
echo " matrix gyro_m.mtx. This test verifies against a ground-"

0 commit comments

Comments
 (0)