2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Integrate the "railsys" test.

[SVN r17848]
This commit is contained in:
Vladimir Prus
2003-03-12 14:08:57 +00:00
parent 136c9c8a72
commit 4d03dcea6a
16 changed files with 60 additions and 14 deletions

15
test/railsys.py Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/python
# Copyright (C) Vladimir Prus 2003. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
# all copies. This software is provided "as is" without express or implied
# warranty, and with no claim as to its suitability for any purpose.
from BoostBuild import Tester, List
t = Tester()
t.set_tree("railsys")
t.run_build_system("--v2", subdir="program")
t.cleanup()

View File

@@ -12,4 +12,8 @@ class TestLibX
public:
TestLibX();
// Needed to suppress 'unused variable' warning
// in some cases.
void do_something() {}
};

View File

@@ -1,10 +1,9 @@
import gcc ;
import toolset ;
# Tell that QT should be used. QTDIR will give installation
# prefix.
toolset.using qt ;
#Alternatively, the prefix can be given as second argument
#toolset.using qt : /usr/share/qt ;
# Not that good, but sufficient for testing
toolset.using stlport : /path/to/stlport ;

View File

@@ -17,4 +17,7 @@ class TestA : public QObject
public:
TestA();
// Needed to suppress 'unused variable' varning.
void do_something() { }
};

View File

@@ -14,4 +14,5 @@
TestA::TestA()
{
TestLibX aTestLibX;
aTestLibX.do_something();
}

View File

@@ -15,4 +15,6 @@ int main()
{
TestLibX stTestLibX;
TestA stTestA;
stTestLibX.do_something();
};

View File

@@ -1,11 +1,9 @@
import gcc ;
#import msvc ;
import toolset ;
# Tell that QT should be used. QTDIR will give installation
# prefix.
toolset.using qt ;
#Alternatively, the prefix can be given as second argument
#toolset.using qt : /usr/share/qt ;
# Not that good, but sufficient for testing
toolset.using stlport : /path/to/stlport ;

View File

@@ -85,6 +85,7 @@ tests = [ "project_test1",
"alternatives",
"unused",
"default_features",
"railsys",
]
if os.name == 'posix':

15
v2/test/railsys.py Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/python
# Copyright (C) Vladimir Prus 2003. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
# all copies. This software is provided "as is" without express or implied
# warranty, and with no claim as to its suitability for any purpose.
from BoostBuild import Tester, List
t = Tester()
t.set_tree("railsys")
t.run_build_system("--v2", subdir="program")
t.cleanup()

View File

@@ -12,4 +12,8 @@ class TestLibX
public:
TestLibX();
// Needed to suppress 'unused variable' warning
// in some cases.
void do_something() {}
};

View File

@@ -1,10 +1,9 @@
import gcc ;
import toolset ;
# Tell that QT should be used. QTDIR will give installation
# prefix.
toolset.using qt ;
#Alternatively, the prefix can be given as second argument
#toolset.using qt : /usr/share/qt ;
# Not that good, but sufficient for testing
toolset.using stlport : /path/to/stlport ;

View File

@@ -17,4 +17,7 @@ class TestA : public QObject
public:
TestA();
// Needed to suppress 'unused variable' varning.
void do_something() { }
};

View File

@@ -14,4 +14,5 @@
TestA::TestA()
{
TestLibX aTestLibX;
aTestLibX.do_something();
}

View File

@@ -15,4 +15,6 @@ int main()
{
TestLibX stTestLibX;
TestA stTestA;
stTestLibX.do_something();
};

View File

@@ -1,11 +1,9 @@
import gcc ;
#import msvc ;
import toolset ;
# Tell that QT should be used. QTDIR will give installation
# prefix.
toolset.using qt ;
#Alternatively, the prefix can be given as second argument
#toolset.using qt : /usr/share/qt ;
# Not that good, but sufficient for testing
toolset.using stlport : /path/to/stlport ;

View File

@@ -85,6 +85,7 @@ tests = [ "project_test1",
"alternatives",
"unused",
"default_features",
"railsys",
]
if os.name == 'posix':