correct test.only ci build script

this will cause the PR failed CI until AHRS is released
This commit is contained in:
hathach committed 2020-02-26 11:17:03 +07:00
1 parent 36bc730a81
commit 0d3a4f38f7
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ def build_examples(variant):
sketchdir = os.path.dirname(sketch)
if os.path.exists(sketchdir + '/.all.test.skip') or os.path.exists(sketchdir + '/.' + variant + '.test.skip'):
success = "\033[33mskipped\033[0m "
elif glob.glob(sketchdir+"/.*.test.only") and not os.path.exists(sketchdir + '/.build.' + variant):
elif glob.glob(sketchdir+"/.*.test.only") and not os.path.exists(sketchdir + '/.build.' + variant + '.test.only'):
success = "\033[33mskipped\033[0m "
else:
# TODO - preferably, would have STDERR show up in **both** STDOUT and STDERR.