1########################################################################
2# Acceptance test framework.
3#
4# See README for details about writing test cases.
5########################################################################
6bundle common D
7{
8  vars:
9    any::
10
11      "owndir" string => "$(this.promise_dirname)";
12
13
14    # If not testing the masterfiles policy framework we want to include the
15    # plucked bodies and bundles so that we have conveniant access to commonly
16    # used bundles and bodies.
17    !testing_masterfiles_policy_framework::
18      "inputs"
19        slist => {
20                   "$(D.owndir)$(const.dirsep)dcs.cf.sub",
21                   "$(D.owndir)$(const.dirsep)plucked.cf.sub",
22                 };
23
24    # If testing the masterfiles policy framework then load the stdlib by
25    # default so it can be leveraged as expected.
26    testing_masterfiles_policy_framework::
27      "inputs"
28        slist => {
29                   "$(D.owndir)$(const.dirsep)dcs.cf.sub",
30                   "$(D.owndir)$(const.dirsep)..$(const.dirsep)..$(const.dirsep)lib$(const.dirsep)stdlib.cf"
31                 };
32
33
34}
35
36body file control
37{
38      # plucked.cf.sub comes from the stdlib with `make pluck`
39      inputs => { @(D.inputs) };
40}
41