upgrade rtt 5.2.2
This commit is contained in:
@@ -327,7 +327,7 @@ def get_file_md5(file):
|
||||
|
||||
# Exclude utestcases
|
||||
def exclude_utestcases(RTT_ROOT):
|
||||
if os.path.isfile(os.path.join(RTT_ROOT, 'examples/utest/testcases/Kconfig')):
|
||||
if os.path.isfile(os.path.join(RTT_ROOT, 'Kconfig.utestcases')):
|
||||
return
|
||||
|
||||
if not os.path.isfile(os.path.join(RTT_ROOT, 'Kconfig')):
|
||||
@@ -337,7 +337,7 @@ def exclude_utestcases(RTT_ROOT):
|
||||
data = f.readlines()
|
||||
with open(os.path.join(RTT_ROOT, 'Kconfig'), 'w') as f:
|
||||
for line in data:
|
||||
if line.find('examples/utest/testcases/Kconfig') == -1:
|
||||
if line.find('Kconfig.utestcases') == -1:
|
||||
f.write(line)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user