From 04528b6ec72b8abcdd0bcea877d7e86b146395ca Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 18 Oct 2011 08:58:06 +0000 Subject: [PATCH] Adjust the 'prebuilt' test to use the 'os' module, to help Python port. [SVN r75032] --- v2/test/prebuilt/ext/jamfile2.jam | 4 ++-- v2/test/prebuilt/ext/jamfile3.jam | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/v2/test/prebuilt/ext/jamfile2.jam b/v2/test/prebuilt/ext/jamfile2.jam index dd79f4ea2..cd59663d6 100644 --- a/v2/test/prebuilt/ext/jamfile2.jam +++ b/v2/test/prebuilt/ext/jamfile2.jam @@ -1,9 +1,9 @@ -import modules ; +import os ; local dll-suffix = so ; local prefix = "" ; -if [ modules.peek : OS ] in CYGWIN NT +if [ os.name ] in CYGWIN NT { if [ MATCH ^(gcc) : $toolset ] { diff --git a/v2/test/prebuilt/ext/jamfile3.jam b/v2/test/prebuilt/ext/jamfile3.jam index f172a89d0..a373a5fb2 100644 --- a/v2/test/prebuilt/ext/jamfile3.jam +++ b/v2/test/prebuilt/ext/jamfile3.jam @@ -3,11 +3,11 @@ # it tries to access prebuilt targets using absolute # paths. It used to be broken on Windows. -import modules ; +import os ; local dll-suffix = so ; local prefix = "" ; -if [ modules.peek : OS ] in CYGWIN NT +if [ os.name ] in CYGWIN NT { if [ MATCH ^(gcc) : $toolset ] {