We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93f1c0 commit 032505dCopy full SHA for 032505d
tests/unittest.sh
@@ -35,14 +35,15 @@ result = unittest.main() ; sys.exit(0 if result.wasSuccessful() else 1) "
35
else
36
cleanname=$(echo "$file" | sed "s#/#_#g")
37
testlog=/tmp/"$cleanname".log
38
+ echo "$test logging to $testlog"
39
mpremote.py exec "import sys ; sys.path.append('lib')
40
$(cat $file)
41
result = unittest.main()
42
if result.wasSuccessful():
43
print('TEST WAS A SUCCESS')
44
else:
45
print('TEST WAS A FAILURE')
-" > "$testlog"
46
+" | tee "$testlog"
47
grep "TEST WAS A SUCCESS" "$testlog"
48
result=$?
49
fi
0 commit comments