]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: avoid confusing make with raw name 'undefine'
authorEric Blake <eblake@redhat.com>
Wed, 12 Sep 2012 17:25:51 +0000 (11:25 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 19 Sep 2013 03:06:24 +0000 (21:06 -0600)
Make has a builtin operator 'undefine', and coupled with latest
automake.git, this test name ended up confusing make into thinking
the file name was meant to be used as the make operator.  Renaming
the file avoids the confusion.

* tests/undefine: Rename...
* tests/virsh-undefine: ...to this.
* tests/Makefile.am (test_scripts): Use new name.
Reported by Jim Meyering.

(cherry picked from commit a20f06d9d9b0353d7fb7a8e11a631253d5961b96)

tests/Makefile.am
tests/virsh-undefine [moved from tests/undefine with 100% similarity]

index 639be58205bc15538b3dd48e294df2d494e7857e..705cbb47e811b937f5d19388f3f501fba6d7011d 100644 (file)
@@ -178,12 +178,13 @@ test_scripts +=                           \
        read-bufsiz                     \
        read-non-seekable               \
        start                           \
-       undefine                        \
        vcpupin                         \
        virsh-all                       \
        virsh-optparse                  \
        virsh-schedinfo                 \
-       virsh-synopsis
+       virsh-synopsis                  \
+       virsh-undefine                  \
+       $(NULL)
 
 test_programs +=                       \
        eventtest                       \
@@ -199,12 +200,13 @@ EXTRA_DIST +=                             \
        read-bufsiz                     \
        read-non-seekable               \
        start                           \
-       undefine                        \
        vcpupin                         \
        virsh-all                       \
        virsh-optparse                  \
        virsh-schedinfo                 \
-       virsh-synopsis
+       virsh-synopsis                  \
+       virsh-undefine                  \
+       $(NULL)
 endif
 
 if WITH_SECDRIVER_APPARMOR
similarity index 100%
rename from tests/undefine
rename to tests/virsh-undefine