summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-09 17:26:21 +0200
committerJim Meyering <meyering@redhat.com>2012-06-09 19:00:33 +0200
commite38df2d81f0a4647711ffeb92a32c99e7ce9a92d (patch)
tree334b68706d7b04d1eeee89669886d891ce090cfe /cfg.mk
parent4ac1c02b590668c93afdb48900e0858de58cda3a (diff)
downloadparted-e38df2d81f0a4647711ffeb92a32c99e7ce9a92d.tar.gz
tests: add a test to exercise just-fixed code
* tests/print-max.c: Extend to provide coverage of ped_disk_get_max_supported_partition_count, too. * tests/t9021-maxima.sh (max_n_partitions): New function, with naively hard-coded max-number-of-partitions-per-partition-table-type values. Use it to ensure that each expected value matches the actual one. * cfg.mk: Exempt this test's use of error from the syntax-check for unmarked diagnostics.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index c6a00c8..45d2ac2 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -69,3 +69,5 @@ exclude_file_name_regexp--sc_prohibit_always-defined_macros = \
exclude_file_name_regexp--sc_prohibit_path_max_allocation = \
^libparted/arch/beos\.c$$
+
+exclude_file_name_regexp--sc_unmarked_diagnostics = ^tests/print-max\.c$$