Skip to content

Commit e9e53e4

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
TEST: change to overwrite instead of remove
1 parent f1e885f commit e9e53e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/test/examples/examples_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ def symlink_mbedos(config, path, exp_filter):
476476
os.chdir(name)
477477
logging.info("In folder '%s'" % name)
478478
if os.path.exists("mbed-os.lib"):
479-
logging.info("Removing 'mbed-os.lib' in '%s'" % name)
480-
os.remove("mbed-os.lib")
479+
logging.info("Replacing 'mbed-os.lib' with empty file in '%s'" % name)
480+
open("mbed-os.lib", 'w').close()
481481
else:
482482
logging.warning("No 'mbed-os.lib' found in '%s'" % name)
483483
if os.path.exists("mbed-os"):

0 commit comments

Comments
 (0)