mirror of https://github.com/CGAL/cgal
Filter "incomplete" so it is not considered as a package
This commit is contained in:
parent
5b03adfbb7
commit
6b9e918cc1
|
|
@ -24,7 +24,7 @@ global_report=open(global_report_name, "a+")
|
||||||
with open(report_file, "rt") as test_report:
|
with open(report_file, "rt") as test_report:
|
||||||
for myline in test_report:
|
for myline in test_report:
|
||||||
m=rx.match(myline)
|
m=rx.match(myline)
|
||||||
|
|
||||||
if is_writing:
|
if is_writing:
|
||||||
if m:
|
if m:
|
||||||
is_writing=False
|
is_writing=False
|
||||||
|
|
@ -49,19 +49,23 @@ with open(report_file, "rt") as test_report:
|
||||||
name="libCGALimageIO_shared"
|
name="libCGALimageIO_shared"
|
||||||
elif name == "libCGAL_Qt5":
|
elif name == "libCGAL_Qt5":
|
||||||
name="libCGALQt5_shared"
|
name="libCGALQt5_shared"
|
||||||
|
if name=="incomplete":
|
||||||
if not os.path.isdir(name):
|
is_writing=False
|
||||||
is_ignored=True
|
is_ignored=False
|
||||||
os.mkdir(name)
|
continue
|
||||||
test_report=open("{dir}/{file}".format(dir=name, file=report_name), "w+")
|
else:
|
||||||
print("""
|
if not os.path.isdir(name):
|
||||||
|
is_ignored=True
|
||||||
|
os.mkdir(name)
|
||||||
|
test_report=open("{dir}/{file}".format(dir=name, file=report_name), "w+")
|
||||||
|
print("""
|
||||||
{scm_branch}
|
{scm_branch}
|
||||||
""" .format(scm_branch=open("{}/../../../../../.scm-branch".format(os.getcwd()), 'r').read()),file=test_report)
|
""" .format(scm_branch=open("{}/../../../../../.scm-branch".format(os.getcwd()), 'r').read()),file=test_report)
|
||||||
else:
|
else:
|
||||||
is_ignored=False
|
is_ignored=False
|
||||||
test_report=open("{dir}/{file}".format(dir=name, file=report_name), "a+")
|
test_report=open("{dir}/{file}".format(dir=name, file=report_name), "a+")
|
||||||
test_report.write(" --- CMake Results: --- \n\n")
|
test_report.write(" --- CMake Results: --- \n\n")
|
||||||
is_writing=True
|
is_writing=True
|
||||||
if is_writing:
|
if is_writing:
|
||||||
is_writing=False
|
is_writing=False
|
||||||
test_report.close()
|
test_report.close()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue