1#!/usr/local/bin/python3.8
2
3# Copyright 2003 Vladimir Prus
4# Distributed under the Boost Software License, Version 1.0.
5# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
6
7# Test that free property inside.
8
9import BoostBuild
10
11t = BoostBuild.Tester(use_test_config=False)
12
13t.write("jamroot.jam", """\
14variant debug-AA : debug : <define>AA ;
15alias all : hello ;
16exe hello : hello.cpp ;
17explicit hello ;
18""")
19
20t.write("hello.cpp", """\
21#ifdef AA
22int main() {}
23#endif
24""")
25
26t.run_build_system(["debug-AA"])
27
28t.cleanup()
29