blob: 4406842fd984d88fd802aee32e41c71f4ccf99e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <tools/ccanlint/ccanlint.h>
#include <ccan/tal/str/str.h>
#include "reduce_features.h"
#include "build.h"
static void check_objs_build_without_features(struct manifest *m,
unsigned int *timeleft,
struct score *score)
{
const char *flags = tal_fmt(score, "%s %s",
REDUCE_FEATURES_FLAGS, cflags);
build_objects(m, score, flags, COMPILE_NOFEAT);
}
struct ccanlint objects_build_without_features = {
.key = "objects_build_without_features",
.name = "Module object files can be built (without features)",
.check = check_objs_build_without_features,
.needs = "reduce_features objects_build"
};
REGISTER_TEST(objects_build_without_features);
|