[Skiboot] [PATCH] add a build directory test
Stewart Smith
stewart at linux.vnet.ibm.com
Fri Aug 14 17:06:00 AEST 2015
Cedric Le Goater <clg at fr.ibm.com> writes:
>>>> --- skiboot.git.orig/test/Makefile.check
>>>> +++ skiboot.git/test/Makefile.check
>>>> @@ -2,3 +2,7 @@ check: boot-check
>>>>
>>>> boot-check: skiboot.lid
>>>> ./test/run_boot_test.sh
>>>> +
>>>> +build-check:
>>>> + rm -rf buildtest && mkdir buildtest
>>>> + make SRC=$(PWD) -f ../Makefile -C buildtest
>>>
>>> Could you instead add to .travis.yaml so that it's just built by
>>> travis-ci ?
>>
>> Sure. I will give it a try also.
>
> Is that what you want ? I tested it on travis.
I ended up merging something a bit different, but does the same thing:
commit bf2e63da39bf8e2cf8dabe326d18f03016dda774
Author: Stewart Smith <stewart at linux.vnet.ibm.com>
Date: Fri Aug 14 16:35:24 2015 +1000
travis-ci: test building out of tree
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
diff --git a/.travis.yml b/.travis.yml
index 4361bba..908b2055 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,3 +19,4 @@ env:
script:
- make && make check
- make clean && SKIBOOT_GCOV=1 make && SKIBOOT_GCOV=1 make check
+ - make clean && rm -rf builddir && mkdir builddir && make SRC=`pwd` -f ../Makefile -C builddir
More information about the Skiboot
mailing list