We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55128b1 commit 78e9a09Copy full SHA for 78e9a09
buildroot/bin/ci_src_filter
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env bash
2
+
3
+# exit on first failure
4
+set -e
5
6
+SED=$(which gsed sed | head -n1)
7
+FN="platformio.ini"
8
9
+if [[ $1 == "-n" ]]; then
10
+ "${SED}" -i "s/default_src_filter/org_src_filter/" $FN
11
+ "${SED}" -i "/org_src_filter/ s/^/default_src_filter = +<src\/*>\n/" $FN
12
+else
13
+ git checkout $FN 2>/dev/null
14
+fi
buildroot/tests/mega2560
@@ -12,6 +12,14 @@ set -e
#restore_configs
#exec_test $1 $2 "Default Configuration" "$3"
15
+#
16
+# Build with no source filers
17
18
+restore_configs
19
+ci_src_filter -n
20
+exec_test $1 $2 "Default Configuration | no source filtering" "$3"
21
+ci_src_filter -y
22
23
#
24
# Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
25
0 commit comments