Re: Testing source code program with 0install

Thomas Leonard <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy-5G_0tK_6qkOW5OZd-Cv145BbR+bTMfhivV7tjH_LPtQ@mail.gmail.com>
On 4 September 2015 at 18:51, Ilja Honkonen <[email protected]> wrote:
>>> 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?

"0compile autocompile" will compile all (missing) dependencies automatically.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.