File tree Expand file tree Collapse file tree 9 files changed +1337
-5
lines changed Expand file tree Collapse file tree 9 files changed +1337
-5
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,9 @@ if(RUN_TESTS)
140
140
141
141
# -- Commander Object --
142
142
add_executable ( test_commander_init ${SOURCES} ${UNIT_TESTING} extras/tests/testCases/Commander/test_init.cpp )
143
+ add_executable ( test_commander_execute ${SOURCES} ${UNIT_TESTING} extras/tests/testCases/Commander/test_execute.cpp )
144
+ add_executable ( test_commander_piping ${SOURCES} ${UNIT_TESTING} extras/tests/testCases/Commander/test_piping.cpp )
145
+ add_executable ( test_commander_helper_functions ${SOURCES} ${UNIT_TESTING} extras/tests/testCases/Commander/test_helper_functions.cpp )
143
146
144
147
endif ()
145
148
Original file line number Diff line number Diff line change 399
399
if os .path .isdir ( rootDirectory + "/" + buildDirectoryName + "/report" ) == False :
400
400
os .mkdir ( rootDirectory + "/" + buildDirectoryName + "/report" )
401
401
402
- shutil .copyfile ( rootDirectory + "/docs/Style /gcovr/style.css" , rootDirectory + "/" + buildDirectoryName + "/style.css" )
402
+ shutil .copyfile ( rootDirectory + "/extras /gcovr/style.css" , rootDirectory + "/" + buildDirectoryName + "/style.css" )
403
403
404
404
# Run gcovr to evaluate coverage
405
405
command = "gcovr -r .. --html-details --html-css style.css -o report/report.html"
441
441
cssFile .writelines (styleLines )
442
442
cssFile .close ()
443
443
444
+ # Check if the docs directory exists.
445
+ # If not, create it.
446
+ if os .path .isdir ( rootDirectory + "/docs/" ) == False :
447
+ os .mkdir ( rootDirectory + "/docs/" )
448
+
444
449
# Check if the html directory exists.
445
450
# If not, create it.
446
451
if os .path .isdir ( rootDirectory + "/docs/html/" ) == False :
473
478
474
479
coverageBadge = anybadge .Badge ( label = "Coverage" , value = badgeValue , default_color = badgeColor )
475
480
481
+ # Check if the images directory exists.
482
+ # If not, create it.
483
+ if os .path .isdir ( rootDirectory + "/docs/images/" ) == False :
484
+ os .mkdir ( rootDirectory + "/docs/images/" )
485
+
476
486
if os .path .exists ( rootDirectory + "/docs/images/coverage_badge.svg" ):
477
487
os .remove ( rootDirectory + "/docs/images/coverage_badge.svg" )
478
488
You can’t perform that action at this time.
0 commit comments