question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add flag to disable ctest (boost test_package)

See original GitHub issue

Please add option to disable ctest in https://github.com/conan-io/conan-center-index/blob/master/recipes/boost/all/test_package/conanfile.py#L37

self.run('ctest --output-on-error -C %s' % bt, run_environment=True)

For example without_ctest:

        if not self.options["boost"].without_ctest:
            self.run('ctest --output-on-error -C %s' % bt, run_environment=True)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
blockspacercommented, Mar 25, 2020

@danimtb Thanks, i’ll try to override the requirements as explained above My problem is solved, but there are suggestions above adding cmake as build_requirement can solve it. If there is a way to get rid of it and run the boost examples it will be much better. so i’ll keep issue open

0reactions
danimtbcommented, Mar 25, 2020

ok. Maybe not all the examples but just some of them

Read more comments on GitHub >

github_iconTop Results From Across the Web

ctest: Disable a set of labeled tests by default - but run them ...
E.g. suppose I have a project with lots of fast-running unit tests that have been added via a add_test(NAME SomeNameHere COMMAND SomeCommandHere) ...
Read more >
Go: Unknown Parts of the Test Package | by Vincent Blanchon
To disable test caching, use any test flag or argument other than the cacheable flags. The idiomatic way to disable test caching explicitly ......
Read more >
proposal: a flag for enabling disabled tests - Google Groups
Google Test allows you to temporarily disable a test function by ... Eric Roman (cc-ed) proposed to add a new command line flag...
Read more >
Test package visibility behavior - Android Developers
Caution: Your app's performance is affected when this flag is enabled. Unless you're testing how package visibility affects your app, disable the logging...
Read more >
testing - Go Packages
To increase parallelism for non-CPU-bound benchmarks, call SetParallelism before RunParallel. RunParallel is usually used with the go test -cpu flag. The body ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found