diff mbox

[v3,07/13] docker: Add full test

Message ID 1457086720-30391-8-git-send-email-famz@redhat.com
State New
Headers show

Commit Message

Fam Zheng March 4, 2016, 10:18 a.m. UTC
This builds all available targets.

Signed-off-by: Fam Zheng <famz@redhat.com>
---
 tests/docker/test-full | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100755 tests/docker/test-full

Comments

Alex Bennée March 11, 2016, 4:10 p.m. UTC | #1
Fam Zheng <famz@redhat.com> writes:

> This builds all available targets.
>
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
>  tests/docker/test-full | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100755 tests/docker/test-full
>
> diff --git a/tests/docker/test-full b/tests/docker/test-full
> new file mode 100755
> index 0000000..fd9b798
> --- /dev/null
> +++ b/tests/docker/test-full
> @@ -0,0 +1,17 @@
> +#!/bin/bash -e
> +#
> +# Compile all the targets.
> +#
> +# Copyright (c) 2016 Red Hat Inc.
> +#
> +# Authors:
> +#  Fam Zheng <famz@redhat.com>
> +#
> +# This work is licensed under the terms of the GNU GPL, version 2
> +# or (at your option) any later version. See the COPYING file in
> +# the top-level directory.
> +
> +. common.rc
> +
> +build_qemu

If this is the full featured test how can we pass additional configure
flags to the build?

> +make check $MAKEFLAGS


--
Alex Bennée
Fam Zheng March 16, 2016, 3:42 a.m. UTC | #2
On Fri, 03/11 16:10, Alex Bennée wrote:
> 
> Fam Zheng <famz@redhat.com> writes:
> 
> > This builds all available targets.
> >
> > Signed-off-by: Fam Zheng <famz@redhat.com>
> > ---
> >  tests/docker/test-full | 17 +++++++++++++++++
> >  1 file changed, 17 insertions(+)
> >  create mode 100755 tests/docker/test-full
> >
> > diff --git a/tests/docker/test-full b/tests/docker/test-full
> > new file mode 100755
> > index 0000000..fd9b798
> > --- /dev/null
> > +++ b/tests/docker/test-full
> > @@ -0,0 +1,17 @@
> > +#!/bin/bash -e
> > +#
> > +# Compile all the targets.
> > +#
> > +# Copyright (c) 2016 Red Hat Inc.
> > +#
> > +# Authors:
> > +#  Fam Zheng <famz@redhat.com>
> > +#
> > +# This work is licensed under the terms of the GNU GPL, version 2
> > +# or (at your option) any later version. See the COPYING file in
> > +# the top-level directory.
> > +
> > +. common.rc
> > +
> > +build_qemu
> 
> If this is the full featured test how can we pass additional configure
> flags to the build?

Let's add an EXTRA_CONFIGURE_OPTS and use it in build_qemu. Works for you?

> 
> > +make check $MAKEFLAGS
> 
> 
> --
> Alex Bennée
Alex Bennée March 16, 2016, 9:07 a.m. UTC | #3
Fam Zheng <famz@redhat.com> writes:

> On Fri, 03/11 16:10, Alex Bennée wrote:
>>
>> Fam Zheng <famz@redhat.com> writes:
>>
>> > This builds all available targets.
>> >
>> > Signed-off-by: Fam Zheng <famz@redhat.com>
>> > ---
>> >  tests/docker/test-full | 17 +++++++++++++++++
>> >  1 file changed, 17 insertions(+)
>> >  create mode 100755 tests/docker/test-full
>> >
>> > diff --git a/tests/docker/test-full b/tests/docker/test-full
>> > new file mode 100755
>> > index 0000000..fd9b798
>> > --- /dev/null
>> > +++ b/tests/docker/test-full
>> > @@ -0,0 +1,17 @@
>> > +#!/bin/bash -e
>> > +#
>> > +# Compile all the targets.
>> > +#
>> > +# Copyright (c) 2016 Red Hat Inc.
>> > +#
>> > +# Authors:
>> > +#  Fam Zheng <famz@redhat.com>
>> > +#
>> > +# This work is licensed under the terms of the GNU GPL, version 2
>> > +# or (at your option) any later version. See the COPYING file in
>> > +# the top-level directory.
>> > +
>> > +. common.rc
>> > +
>> > +build_qemu
>>
>> If this is the full featured test how can we pass additional configure
>> flags to the build?
>
> Let's add an EXTRA_CONFIGURE_OPTS and use it in build_qemu. Works for
> you?

Sounds good to me.

>
>>
>> > +make check $MAKEFLAGS
>>
>>
>> --
>> Alex Bennée


--
Alex Bennée
diff mbox

Patch

diff --git a/tests/docker/test-full b/tests/docker/test-full
new file mode 100755
index 0000000..fd9b798
--- /dev/null
+++ b/tests/docker/test-full
@@ -0,0 +1,17 @@ 
+#!/bin/bash -e
+#
+# Compile all the targets.
+#
+# Copyright (c) 2016 Red Hat Inc.
+#
+# Authors:
+#  Fam Zheng <famz@redhat.com>
+#
+# This work is licensed under the terms of the GNU GPL, version 2
+# or (at your option) any later version. See the COPYING file in
+# the top-level directory.
+
+. common.rc
+
+build_qemu
+make check $MAKEFLAGS