Skip to content

Commit

Permalink
Removes inline specifiers for functions used across compilation units…
Browse files Browse the repository at this point in the history
…; performs both debug and release builds through CI.
  • Loading branch information
tgregg committed May 25, 2018
1 parent 0903060 commit 9b0ca55
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ platform:

configuration:
- Debug
- Release

install:
- git submodule update --init --recursive
Expand Down
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ matrix:
before_install:
- eval "${MATRIX_EVAL}"

install: ./build-debug.sh
install:
- ./build-debug.sh
- ./build-release.sh

script: ./build/debug/test/all_tests
script:
- ./build/debug/test/all_tests
- ./build/release/test/all_tests
4 changes: 2 additions & 2 deletions test/gather_vectors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static std::string *test_concat_filenames(std::string *dst, int num_components,
return dst;
}

inline std::string join_path(std::string prefix, std::string suffix) {
std::string join_path(std::string prefix, std::string suffix) {
std::string path;
test_concat_filenames(&path, 2, prefix.c_str(), suffix.c_str());
return path;
Expand All @@ -80,7 +80,7 @@ inline BOOL directory_exists(std::string path) {
return (info.st_mode & S_IFDIR);
}

inline std::string find_ion_tests_path() {
std::string find_ion_tests_path() {
// IDEs typically perform in-source builds, in which case this will be executed directly from either the root or the
// tests directory. Common out-of-source builds, including those performed by build-release.sh script, will be run
// from build/release/test. This attempts to locate the ion-tests directory from those locations.
Expand Down

0 comments on commit 9b0ca55

Please sign in to comment.