Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have GCC/g++ 4.7 and it works fine. But I need to run the libstdc++ testsuite but I don't find where the testsuite is on the system and how to run it. How can I do that?

share|improve this question
The test suite is not installed with the compiler. You'll need to get the source and at least configure it to be ably to run it. Why do you want to do this? – Mat May 13 '12 at 8:19
Because I would like to see the test cases of the auto_ptr class. – Bebeoix May 13 '12 at 17:15
auto_ptr is deprecated in C++11, you probably shouldn't be using it. Just get the source and unpack it if you want to see the tests. – Mat May 13 '12 at 17:19
Ok thanks @Mat. – Bebeoix May 13 '12 at 19:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.