Domanda

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.

È stato utile?

Soluzione

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)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top