문제

I have made several tests with GLib testing framework. I launch them by running "make check" in my test directory. How can I do to run only one test, for example, foobar ? Is there a command such as 'make check-foobar' ?

Thank you for your help.

도움이 되었습니까?

해결책

so you used gtester right, didn't do a man gtester?

You can use gtester -p=/path/a/single/test/is/registered/to test-binary.bin


If you can call it via make check /some/path depends on your buildsystem (Makefile, autotools, waf, scons, CMake,.. and the associated config files, which you did not provide)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top