Re: Testing source code program with 0install
Ilja Honkonen <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
>> If my program has a local feed a.xml and I run 0test gcc.xml 4.9 5.0 >> a.xml how would I tell 0test to use given gcc version(s) for compiling >> everything else given to 0test? > In: > 0test -t 'run-my-test-builds' http://example.org/gcc 4.0 5.0 > 0test would set $CC and run your "run-my-test-builds" script, for each > version of gcc. However, this only works if the program *doesn't* > specify the compiler dependency explicitly. > "run-my-test-builds" would create a temporary directory, set > XDG_*_HOME to point at it, and run "0compile autocompile" on the > program to be tested. Thanks, what about dependiencies of a.xml which is what I'd really like to use 0install for. Should run-my-test-builds also run 0compile autocompile on all dependencies of a.xml or will 0test call run-my-test-builds separately for each dependency or will 0compile compile all dependencies automatically? Ilja ------------------------------------------------------------------------------