Skip to content

Fix automatics testing suite#44

Merged
wolfv merged 1 commit intoxtensor-stack:masterfrom
kokarez:fix_auto_test
Jan 2, 2020
Merged

Fix automatics testing suite#44
wolfv merged 1 commit intoxtensor-stack:masterfrom
kokarez:fix_auto_test

Conversation

@kokarez
Copy link
Copy Markdown
Contributor

@kokarez kokarez commented Nov 7, 2019

Here what was wrong but here is the main summary:

  • The testsuite does not support the latest gtest. So you need to install with your conf (aka 1.8.0)
  • wget tend to fail - 10 retries will hide those network failure and reduce the flakyness
  • they were a git clone of the repo - which does use any release system

So overall this is cleaning/simplification of the test conf.

@kokarez kokarez force-pushed the fix_auto_test branch 4 times, most recently from 5d9cfe4 to b53a197 Compare November 7, 2019 15:19
Comment thread .travis.yml Outdated
- conda update -yq conda
- conda install -y cmake -c conda-forge
- conda install -y xtl==0.6.7 nlohmann_json -c conda-forge
- conda install -y xtensor=0.20.10 -c conda-forge
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why you use three separate commands here? I'd prefer just one command.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really sorry about this long delay - I did not receive any notif :( and sadly I got distract but Im back to finish this push!

Done

Comment thread .travis.yml
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/miniconda
make install
cd $TRAVIS_BUILD_DIR
fi
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot why I had this failsafe thing anyway, so good riddance, thanks.

@kokarez kokarez force-pushed the fix_auto_test branch 3 times, most recently from 77ecef6 to 3e8b6ff Compare January 2, 2020 02:20
@kokarez
Copy link
Copy Markdown
Contributor Author

kokarez commented Jan 2, 2020

Interesting enough the -march=native was creating incompatible assembly code on the test system, Im not sure why this was added in the first place. I digged around, could not find why, also the xtensor is adding only for c++ (from what I saw) and add_compile_options will add for all.

Here for more context: https://stackoverflow.com/questions/39501481/difference-between-add-compile-options-and-setcmake-cxx-flags

@wolfv wolfv merged commit 21f5e90 into xtensor-stack:master Jan 2, 2020
@egpbos
Copy link
Copy Markdown
Member

egpbos commented Jan 2, 2020

@kokarez thanks for all the work! One small request, if it's not too much trouble for you: I would prefer if you did regular pushes instead of force pushes so I can keep track of what happened between commits instead of having to compare the whole thing after each commit.

@kokarez
Copy link
Copy Markdown
Contributor Author

kokarez commented Jan 2, 2020

I do force to keep my list of commit clean an meaning full - I don't really like to have commit to fix comment that end up in master. But yea I also understand that diffing is annoying. Will do simple push starting from now

@egpbos
Copy link
Copy Markdown
Member

egpbos commented Jan 2, 2020

Thanks, much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants