Comments (2)
Indeed it would, but Clar is meant to run in both Linux (GCC, Clang) and Windows (MSVC), and as far as I know there's no straightforward or crossplatform way to print this kind of traces in both platforms. :(
I'm of course up for suggestions!
from clar.
Indeed, this would be useful, but it's really the thing that you're testing that needs to produce the stack trace. I'd be happy to support simplifying this as much as possible, but fundamentally cl_assert(...)
just calls a function. If that function fails 15 calls deep, you need a way to report that up. This means either your app knowing how to report it to clar, or clar knowing how to get that information from your app. Simply calling backtrace()
won't help once the call has exited and we know that we've failed.
I'm closing this but if you have a concrete plan for more general support that would be 👍
from clar.
Related Issues (12)
- clay.py is not executable HOT 2
- clar didn't support for python3
- clar didn't support for python3 HOT 7
- Selecting a suite should look in all categories HOT 2
- Problems getting started with clar (stale documentation) HOT 3
- Tap protocol output HOT 1
- Feature request: reporting (e.g. jUnit xml) HOT 2
- Idea on output HOT 2
- Run preprocessor before processing test declarations
- Specifier for a precise match using `-s`
- Request for slightly more portability - specifically c99 or c11 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clar.