From 779b53aa3c7ae5a027853efce0fef839e393c81d Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 3 Dec 2003 07:56:28 +0000 Subject: [PATCH] Remove tabs. [SVN r21112] --- v2/test/alias.py | 3 +-- v2/test/alternatives.py | 4 ++-- v2/test/build_dir.py | 12 ++++++------ v2/test/conditionals2.py | 2 +- v2/test/core_typecheck.py | 10 +++++----- v2/test/default_build.py | 6 +++--- v2/test/project_test3.py | 8 ++++---- v2/test/test_all.py | 2 +- 8 files changed, 23 insertions(+), 24 deletions(-) diff --git a/v2/test/alias.py b/v2/test/alias.py index a2f4b1fc8..1a68ec559 100644 --- a/v2/test/alias.py +++ b/v2/test/alias.py @@ -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) diff --git a/v2/test/alternatives.py b/v2/test/alternatives.py index 745356353..f9d60feea 100644 --- a/v2/test/alternatives.py +++ b/v2/test/alternatives.py @@ -111,5 +111,5 @@ exe a : a.cpp specific-sources ; t.rm("bin") t.run_build_system() - -t.cleanup() + +t.cleanup() diff --git a/v2/test/build_dir.py b/v2/test/build_dir.py index d539a0123..e92a2568b 100644 --- a/v2/test/build_dir.py +++ b/v2/test/build_dir.py @@ -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() diff --git a/v2/test/conditionals2.py b/v2/test/conditionals2.py index af9034df4..3145a14d2 100644 --- a/v2/test/conditionals2.py +++ b/v2/test/conditionals2.py @@ -28,7 +28,7 @@ rule maker ( targets * : sources * : properties * ) if false in $(properties) && 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 ] ; } diff --git a/v2/test/core_typecheck.py b/v2/test/core_typecheck.py index 08ca631cd..2de82e686 100644 --- a/v2/test/core_typecheck.py +++ b/v2/test/core_typecheck.py @@ -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 ; + } } } diff --git a/v2/test/default_build.py b/v2/test/default_build.py index a10bc3511..cde428e91 100644 --- a/v2/test/default_build.py +++ b/v2/test/default_build.py @@ -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 FOO - ; + : default-build FOO + ; build-project a ; - build-project b ; + build-project b ; """) t.write("a/Jamfile", """ diff --git a/v2/test/project_test3.py b/v2/test/project_test3.py index 5af66571f..9c35b3cc5 100644 --- a/v2/test/project_test3.py +++ b/v2/test/project_test3.py @@ -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", diff --git a/v2/test/test_all.py b/v2/test/test_all.py index 98c9060e8..7a69c7720 100644 --- a/v2/test/test_all.py +++ b/v2/test/test_all.py @@ -113,7 +113,7 @@ tests = [ "project_test1", "composite", "library_chain", "unit_test", - ] + ] if os.name == 'posix': tests.append("symlink")