mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Remove tabs.
[SVN r21112]
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
|
||||
from BoostBuild import Tester, List
|
||||
t = Tester()
|
||||
|
||||
@@ -46,7 +45,7 @@ t.expect_addition("bin/$toolset/debug/hello.exe")
|
||||
|
||||
# Regression test.
|
||||
# Check if usage requirements are propagated via "alias"
|
||||
|
||||
|
||||
t.write("l.cpp", """
|
||||
void
|
||||
#if defined(_WIN32)
|
||||
|
||||
@@ -111,5 +111,5 @@ exe a : a.cpp specific-sources ;
|
||||
t.rm("bin")
|
||||
t.run_build_system()
|
||||
|
||||
|
||||
t.cleanup()
|
||||
|
||||
t.cleanup()
|
||||
|
||||
@@ -26,16 +26,16 @@ t.run_build_system()
|
||||
|
||||
t.expect_addition(["build/bin/$toolset/debug/a.exe",
|
||||
"build/src/bin/$toolset/debug/b.exe"])
|
||||
|
||||
|
||||
# Test that building from child projects work
|
||||
t.run_build_system(subdir='src')
|
||||
t.expect_nothing_more()
|
||||
|
||||
t.expect_nothing_more()
|
||||
|
||||
# Test that project can override build dir
|
||||
t.write("Jamfile", """
|
||||
exe a : a.cpp ;
|
||||
build-project src ;
|
||||
""")
|
||||
""")
|
||||
|
||||
t.write("src/Jamfile", """
|
||||
project
|
||||
@@ -47,5 +47,5 @@ exe b : b.cpp ;
|
||||
t.run_build_system()
|
||||
t.expect_addition(["bin/$toolset/debug/a.exe",
|
||||
"src/build/bin/$toolset/debug/b.exe"])
|
||||
|
||||
t.cleanup()
|
||||
|
||||
t.cleanup()
|
||||
|
||||
@@ -28,7 +28,7 @@ rule maker ( targets * : sources * : properties * )
|
||||
if <the_feature>false in $(properties)
|
||||
&& <the_feature>true in $(properties)
|
||||
{
|
||||
EXIT "Oops, two different values of non-free feature" ;
|
||||
EXIT "Oops, two different values of non-free feature" ;
|
||||
}
|
||||
CMD on $(targets) = [ file-creation-command ] ;
|
||||
}
|
||||
|
||||
@@ -11,11 +11,11 @@ module .typecheck
|
||||
{
|
||||
rule [path] ( x )
|
||||
{
|
||||
if ! [ MATCH "^(::)" : $(x) ]
|
||||
{
|
||||
ECHO "Error: $(x) is not a path" ;
|
||||
return true ;
|
||||
}
|
||||
if ! [ MATCH "^(::)" : $(x) ]
|
||||
{
|
||||
ECHO "Error: $(x) is not a path" ;
|
||||
return true ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -52,11 +52,11 @@ t.run_build_system("-n --no-error-backtrace", status=0)
|
||||
# This happens only of "build-project b" is placed first.
|
||||
t.write("Jamfile", """
|
||||
project
|
||||
: default-build <define>FOO
|
||||
;
|
||||
: default-build <define>FOO
|
||||
;
|
||||
|
||||
build-project a ;
|
||||
build-project b ;
|
||||
build-project b ;
|
||||
""")
|
||||
|
||||
t.write("a/Jamfile", """
|
||||
|
||||
@@ -84,10 +84,10 @@ t.expect_touch(["bin/$toolset/debug/a.obj",
|
||||
|
||||
|
||||
t.run_build_system(extra_args="release optimization=off,speed")
|
||||
t.expect_addition([ "bin/$toolset/release/a.exe",
|
||||
"bin/$toolset/release/a.obj",
|
||||
"bin/$toolset/release/optimization-off/a.exe",
|
||||
"bin/$toolset/release/optimization-off/a.obj"])
|
||||
t.expect_addition(["bin/$toolset/release/a.exe",
|
||||
"bin/$toolset/release/a.obj",
|
||||
"bin/$toolset/release/optimization-off/a.exe",
|
||||
"bin/$toolset/release/optimization-off/a.obj"])
|
||||
|
||||
t.run_build_system(extra_args='clean')
|
||||
t.expect_removal(["bin/$toolset/debug/a.obj",
|
||||
|
||||
@@ -113,7 +113,7 @@ tests = [ "project_test1",
|
||||
"composite",
|
||||
"library_chain",
|
||||
"unit_test",
|
||||
]
|
||||
]
|
||||
|
||||
if os.name == 'posix':
|
||||
tests.append("symlink")
|
||||
|
||||
Reference in New Issue
Block a user