From: Fredrik H. <fre...@ax...> - 2009-06-02 12:57:29
|
Hi Stefan! I'm not completely with you, can you please explain some more? Which specific problem are you adressing with this idea? Do you suggest that the testrunner would do some "windows fork" to run each test in a separate windows process? This would decouple the tests from each other giving the same benefit as on an OS with fork()-support. An example testrunner could be checked into the contrib directory. Regards /Fredrik Hugosson Stefan Kost wrote: > hi, > > I had one idea last night. I mentioned the hack we have in gstreamer when using > check, where we overload tcase_add_test to check an env-var and match testname > against a glob in the envvar to run specific tests. > > What if for win32 the testrunner iterates over the tests, set and envvar with > the testname and executes itself. It checkes if the envvar is set and if it > would not iterate the test, but just run the specific test. Shouldn't that be > enough? Afterall check does not need a full fork(). > > Stefan > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel |