We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53ba831 commit ec99268Copy full SHA for ec99268
tests/common.sh
@@ -17,18 +17,21 @@ function build_sketches()
17
continue
18
fi;
19
if [[ -f "$sketchdir/.test.skip" ]]; then
20
- echo -e "\n\n ------------ Skipping $sketch ------------ \n\n";
+ echo -e "\n ------------ Skipping $sketch ------------ \n";
21
22
fi
23
- echo -e "\n\n ------------ Building $sketch ------------ \n\n";
+ echo -e "\n ------------ Building $sketch ------------ \n";
24
# $arduino --verify $sketch;
25
echo "$build_cmd $sketch"
26
- time $build_cmd $sketch
+ time ($build_cmd $sketch >build.log)
27
local result=$?
28
if [ $result -ne 0 ]; then
29
echo "Build failed ($1)"
30
+ echo "Build log:"
31
+ cat build.log
32
return $result
33
34
+ rm build.log
35
done
36
}
37
0 commit comments