2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-26 06:22:26 +00:00
Files
build/test/path_features.py
Vladimir Prus 043e67d51f Bugfix: path features in target requirement were
not translated.

* test/path_features.py: Fix a bug in test.

* new/targets.jam
    (main-target-requirements): Bugfix.


[SVN r16579]
2002-12-10 07:15:33 +00:00

23 lines
394 B
Python

#!/usr/bin/python
from BoostBuild import Tester
t = Tester()
t.write("project-root.jam", "import gcc ;")
t.write("Jamfile", "lib a : a.cpp : <include>. ;")
t.write("a.cpp", """
#include <a.h>
void foo() {}
""")
t.write("a.h", "")
t.write("d/Jamfile", "exe b : b.cpp ../a ; ")
t.write("d/b.cpp", """
void foo();
int main() { foo(); }
""")
t.run_build_system(subdir="d")
t.cleanup()