diff mbox

add a build directory test

Message ID 1432102560-3005-1-git-send-email-clg@fr.ibm.com
State Rejected
Headers show

Commit Message

Cédric Le Goater May 20, 2015, 6:16 a.m. UTC
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
---
 test/Makefile.check |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Stewart Smith June 1, 2015, 8:07 a.m. UTC | #1
Cédric Le Goater <clg@fr.ibm.com> writes:
> Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
> ---
>  test/Makefile.check |    4 ++++
>  1 file changed, 4 insertions(+)
>
> Index: skiboot.git/test/Makefile.check
> ===================================================================
> --- 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 ?
Cédric Le Goater June 1, 2015, 10:10 a.m. UTC | #2
On 06/01/2015 10:07 AM, Stewart Smith wrote:
> Cédric Le Goater <clg@fr.ibm.com> writes:
>> Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
>> ---
>>  test/Makefile.check |    4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> Index: skiboot.git/test/Makefile.check
>> ===================================================================
>> --- 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.

C.
diff mbox

Patch

Index: skiboot.git/test/Makefile.check
===================================================================
--- 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