Skip to contentSkip to conversation

tests: Rename tests/Makefile to tests/Makefile.include

PATCH In review Fam Zheng 2 participants 4 messages Jun 1, 2016 – Jun 15, 2016 Kbuild

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

PATCH 1/1 tests: Rename tests/Makefile to tests/Makefile.include

The file is only included from the top Makefile. Rename it to reflect this more obviously.

---
 Makefile                             | 2 +-
 tests/{Makefile => Makefile.include} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/{Makefile => Makefile.include} (100%)
Makefile +1 -1
index 3a3c5dc..0cd111b 100644
@@ -161,7 +161,7 @@ dummy := $(call unnest-vars,, \
                 common-obj-m)
 
 ifneq ($(wildcard config-host.mak),)
-include $(SRC_PATH)/tests/Makefile
+include $(SRC_PATH)/tests/Makefile.include
 endif
 
 all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules
tests/Makefile.include renamed from tests/Makefile +0 -0
similarity index 100%
rename from tests/Makefile
rename to tests/Makefile.include
Signature · 1 line
2.8.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Fam Zheng

The file is only included from the top Makefile. Rename it to reflect this more obviously.

---
 Makefile                             | 2 +-
 tests/{Makefile => Makefile.include} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/{Makefile => Makefile.include} (100%)
Quoted 19 lines
Makefile +1 -1
index 3a3c5dc..0cd111b 100644
@@ -161,7 +161,7 @@ dummy := $(call unnest-vars,, \
                 common-obj-m)
 
 ifneq ($(wildcard config-host.mak),)
-include $(SRC_PATH)/tests/Makefile
+include $(SRC_PATH)/tests/Makefile.include
 endif
 
 all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules
tests/Makefile.include renamed from tests/Makefile +0 -0
similarity index 100%
rename from tests/Makefile
rename to tests/Makefile.include
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
author
#2 lore raw
Quoted 4 lines · Eric Blake
Quoted 3 lines · Fam Zheng

The file is only included from the top Makefile. Rename it to reflect this more obviously.

Quoted 8 lines
Quoted 6 lines
---
 Makefile                             | 2 +-
 tests/{Makefile => Makefile.include} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/{Makefile => Makefile.include} (100%)

This one is already applied in master.

Fam

#3 lore raw
Quoted 12 lines · Fam Zheng
Quoted 11 lines · Eric Blake
Quoted 9 lines · Fam Zheng

The file is only included from the top Makefile. Rename it to reflect this more obviously.

---
 Makefile                             | 2 +-
 tests/{Makefile => Makefile.include} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/{Makefile => Makefile.include} (100%)
Quoted 4 lines
Quoted 1 line

This one is already applied in master.

Oh, shows how much I rely on tab-completion.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org