2
0
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:
Vladimir Prus
2003-12-03 07:56:28 +00:00
parent cf106daa18
commit 779b53aa3c
8 changed files with 23 additions and 24 deletions

View File

@@ -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)

View File

@@ -111,5 +111,5 @@ exe a : a.cpp specific-sources ;
t.rm("bin")
t.run_build_system()
t.cleanup()
t.cleanup()

View File

@@ -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()

View File

@@ -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 ] ;
}

View File

@@ -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 ;
}
}
}

View File

@@ -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", """

View File

@@ -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",

View File

@@ -113,7 +113,7 @@ tests = [ "project_test1",
"composite",
"library_chain",
"unit_test",
]
]
if os.name == 'posix':
tests.append("symlink")