Skip to content

Commit d8a8147

Browse files
committed
Changed the test code
1 parent 83783b3 commit d8a8147

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test-expand.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ TEST_FILE="test.rs"
77
FILE_HEAD="fn main() {}"
88

99
for MODULE in ${TEST_MODULES[@]};do
10+
echo Test module $MODULE
1011
python3 $SCRIPT_DIR/../../expand.py $MODULE > $TMP_PATH/$TEST_FILE
12+
echo "Output" $(wc -c < $TMP_PATH/$TEST_FILE) "Bytes"
1113
echo $FILE_HEAD >> $TMP_PATH/$TEST_FILE
1214
rustc $TMP_PATH/$TEST_FILE 2>/dev/null
1315
if [ $? -ne 0 ];then
1416
echo "Error compiling for $MODULE"
1517
exit 1
1618
else
17-
echo "Test passed($MODULE)"
19+
echo "Test passed"
1820
fi
1921
done

0 commit comments

Comments
 (0)