-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip tests for plugins disabled during compile time
Fixes: #943
- Loading branch information
1 parent
3bcac3a
commit e6b280e
Showing
25 changed files
with
146 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,4 @@ dist/libblockdev.spec | |
tools/lvm-cache-stats | ||
tools/vfat-resize | ||
misc/.vagrant | ||
tests/config_h.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Generate config.h.py with translated defines for easy use within Python | ||
|
||
CONFIG_H_PY = config_h.py | ||
PLUGINS = | ||
|
||
if WITH_BTRFS | ||
PLUGINS += btrfs | ||
endif | ||
|
||
if WITH_CRYPTO | ||
PLUGINS += crypto | ||
endif | ||
|
||
if WITH_DM | ||
PLUGINS += dm | ||
endif | ||
|
||
if WITH_LOOP | ||
PLUGINS += loop | ||
endif | ||
|
||
if WITH_LVM | ||
PLUGINS += lvm | ||
endif | ||
|
||
if WITH_LVM_DBUS | ||
PLUGINS += lvm-dbus | ||
endif | ||
|
||
if WITH_MDRAID | ||
PLUGINS += mdraid | ||
endif | ||
|
||
if WITH_MPATH | ||
PLUGINS += mpath | ||
endif | ||
|
||
if WITH_SWAP | ||
PLUGINS += swap | ||
endif | ||
|
||
if WITH_PART | ||
PLUGINS += part | ||
endif | ||
|
||
if WITH_FS | ||
PLUGINS += fs | ||
endif | ||
|
||
if WITH_NVDIMM | ||
PLUGINS += nvdimm | ||
endif | ||
|
||
if WITH_NVME | ||
PLUGINS += nvme | ||
endif | ||
|
||
if WITH_SMART | ||
PLUGINS += smart | ||
endif | ||
|
||
if WITH_SMARTMONTOOLS | ||
PLUGINS += smartmontools | ||
endif | ||
|
||
if WITH_TOOLS | ||
PLUGINS += tools | ||
endif | ||
|
||
$(CONFIG_H_PY): | ||
echo -n 'ENABLED_PLUGINS = [ ' > $(CONFIG_H_PY) | ||
for i in $(PLUGINS); do \ | ||
echo -n "'$$i', " >> $(CONFIG_H_PY); \ | ||
done | ||
echo ']' >> $(CONFIG_H_PY) | ||
|
||
all: $(CONFIG_H_PY) | ||
|
||
EXTRA_DIST = | ||
|
||
clean-local: | ||
rm -f *~ $(CONFIG_H_PY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.