manager: rework test flags set
No reason to avoid bit 0. Also, fix some tests that pass "true" as flags value, which is just wrong.
This commit is contained in:
+4
-4
@@ -110,10 +110,10 @@ typedef enum ManagerTimestamp {
|
||||
|
||||
enum {
|
||||
/* 0 = run normally */
|
||||
MANAGER_TEST_RUN_MINIMAL = 1 << 1, /* create basic data structures */
|
||||
MANAGER_TEST_RUN_BASIC = 1 << 2, /* interact with the environment */
|
||||
MANAGER_TEST_RUN_ENV_GENERATORS = 1 << 3, /* also run env generators */
|
||||
MANAGER_TEST_RUN_GENERATORS = 1 << 4, /* also run unit generators */
|
||||
MANAGER_TEST_RUN_MINIMAL = 1 << 0, /* create basic data structures */
|
||||
MANAGER_TEST_RUN_BASIC = 1 << 1, /* interact with the environment */
|
||||
MANAGER_TEST_RUN_ENV_GENERATORS = 1 << 2, /* also run env generators */
|
||||
MANAGER_TEST_RUN_GENERATORS = 1 << 3, /* also run unit generators */
|
||||
MANAGER_TEST_FULL = MANAGER_TEST_RUN_BASIC | MANAGER_TEST_RUN_ENV_GENERATORS | MANAGER_TEST_RUN_GENERATORS,
|
||||
};
|
||||
assert_cc((MANAGER_TEST_FULL & UINT8_MAX) == MANAGER_TEST_FULL);
|
||||
|
||||
Reference in New Issue
Block a user