-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from naviqore/feature/NAV-189-clean-up-unit-an…
…d-integration-tests Feature/nav 189 clean up unit and integration tests
- Loading branch information
Showing
32 changed files
with
416 additions
and
790,755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,4 @@ | |
/packages/* | ||
/vcpkg_installed/* | ||
/src/gtfsRaptorConfig/src/agencySubsetWriter/__pycache__ | ||
/resources/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
function(download_and_unzip zip_url unzip_dir) | ||
|
||
set(zip_file "${CMAKE_BINARY_DIR}/SWITZERLAND_GTFS.zip") | ||
|
||
if(EXISTS ${zip_file}) | ||
message(STATUS "ZIP file already exists: ${zip_file}") | ||
else() | ||
message(STATUS "Downloading ${zip_url} to ${zip_file}...") | ||
file(DOWNLOAD ${zip_url} ${zip_file} SHOW_PROGRESS) | ||
endif() | ||
|
||
if(EXISTS ${unzip_dir}) | ||
message(STATUS "Unzip directory already exists: ${unzip_dir}") | ||
else() | ||
file(MAKE_DIRECTORY ${unzip_dir}) | ||
|
||
execute_process( | ||
COMMAND ${CMAKE_COMMAND} -E tar xzf ${zip_file} | ||
WORKING_DIRECTORY ${unzip_dir} | ||
RESULT_VARIABLE result | ||
) | ||
|
||
if(NOT result EQUAL 0) | ||
message(FATAL_ERROR "Unzipping failed!") | ||
else() | ||
message(STATUS "Successfully unzipped to ${unzip_dir}.") | ||
endif() | ||
endif() | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.