File tree 6 files changed +6
-28
lines changed
6 files changed +6
-28
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ function run_test() {
9
9
local sketchname=$( basename $sketchdir )
10
10
11
11
if [[ -f " $sketchdir /.skip.$platform " ]]; then
12
- echo " Skipping $sketchname test in $target "
12
+ echo " Skipping $sketchname test for $target , platform: $platform "
13
+ skipfile=" $sketchdir /.test_skipped"
14
+ touch $skipfile
13
15
exit 0
14
16
fi
15
17
Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ jobs:
124
124
- name : Check if tests were skipped
125
125
id : check-test-skipped
126
126
run : |
127
- if [ -f ~/.test_skipped ]; then
127
+ ls -R tests
128
+ if [ -f tests/**/.test_skipped ]; then
128
129
echo "skipped=true" >> $GITHUB_OUTPUT
129
130
else
130
131
echo "skipped=false" >> $GITHUB_OUTPUT
@@ -175,7 +176,7 @@ jobs:
175
176
- name : Check if tests were skipped
176
177
id : check-test-skipped
177
178
run : |
178
- if [ -f ~ /.test_skipped ]; then
179
+ if [ -f tests/** /.test_skipped ]; then
179
180
echo "skipped=true" >> $GITHUB_OUTPUT
180
181
else
181
182
echo "skipped=false" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 1
1
#include < unity.h>
2
2
#include " soc/soc_caps.h"
3
-
4
- #if SOC_TOUCH_SENSOR_NUM > 0
5
-
6
3
#include " driver/touch_pad.h"
7
4
8
5
#if CONFIG_IDF_TARGET_ESP32
@@ -150,25 +147,3 @@ void setup() {
150
147
}
151
148
152
149
void loop () {}
153
-
154
- #else
155
- // PASS TEST for UNSUPPORTED CHIPS
156
-
157
- void test_pass (void ) {
158
- TEST_ASSERT_EQUAL (1 , 1 );
159
- }
160
-
161
- void setup () {
162
- Serial.begin (115200 );
163
- while (!Serial) {
164
- ;
165
- }
166
-
167
- UNITY_BEGIN ();
168
- RUN_TEST (test_pass);
169
- UNITY_END ();
170
- }
171
-
172
- void loop () {}
173
-
174
- #endif
You can’t perform that action at this time.
0 commit comments