]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
aiaiai: cleanup display of randconfig builds
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 8 Sep 2014 23:53:06 +0000 (16:53 -0700)
committerJacob Keller <jacob.e.keller@intel.com>
Tue, 9 Sep 2014 00:06:59 +0000 (17:06 -0700)
This patch removes some code attempting to show the random configuration
generated for the build. It does not correctly show up in the email, so
I need to spend some time figuring out where to display the
configuration file.

Additionally, clean up some display about generating the random config
so that we don't see the errors. Also we do a make mrproper to cleanup
any generated files so that builds will be clean when we start.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
aiaiai-test-patchset

index 9e1c7d2655778089401e5ef4f16b182aff664373..6642061bef372222a267b0e57abe5d067b2cd2f9 100755 (executable)
@@ -187,11 +187,14 @@ test_configuration()
        if [ "$defconfig" = "randconfig" ]; then
                        # Generate a random configuration
                        make -C "$cloned_kernel1" ${arch:+ARCH="$arch"} \
-                               ${cross:+CROSS_COMPILE="$cross"} -- "$defconfig"
+                               ${cross:+CROSS_COMPILE="$cross"} -- "$defconfig" >&2
 
                        # Store this configuration in our temporary work dir
                        defconfig="$tmpdir/$config.random"
-                       cp .config "$defconfig"
+                       verbose "Copying random configuration to $defconfig"
+                       cp .config "$defconfig" >&2
+
+                       make -C "$cloned_kernel1" mrproper >&2
        elif [ -n "$confdir" ]; then
                defconfig="$confdir/$defconfig"
                [ -f "$defconfig" ] || die "$defconfig is not available"
@@ -543,10 +546,6 @@ for defconfig in $defconfigs; do
 
                cat "$tmpdir/$defconfig.stderr.diff"
 
-               if [ -f "$tmpdir/$defconfig.config" ]; then
-                       printf "\n%s\n" "For reference, the random configuration used was:"
-                       cat "$tmpdir/$defconfig.config"
-               fi
        else
                printf "\n%s\n" "Successfully built configuration \"$defconfig\", no issues."
        fi