author | raptorbot |
Mon, 26 Apr 2010 09:44:21 +0100 | |
changeset 442 | a0f5dc257779 |
parent 171 | 083d88a8550e |
permissions | -rw-r--r-- |
171
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
1 |
# |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
2 |
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
3 |
# All rights reserved. |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
4 |
# This component and the accompanying materials are made available |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
5 |
# under the terms of the License "Eclipse Public License v1.0" |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
6 |
# which accompanies this distribution, and is available |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
8 |
# |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
9 |
# Initial Contributors: |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
10 |
# Nokia Corporation - initial contribution. |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
11 |
# |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
12 |
# Contributors: |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
13 |
# |
083d88a8550e
Fixing qt_helloworld test id. Fixing copyright notices.
Iain Williamson <iain.williamson@nokia.com>
parents:
170
diff
changeset
|
14 |
# Description: |
5 | 15 |
# General commandline option handling tests which aren't appropriate as unit tests. |
16 |
||
17 |
from raptor_tests import SmokeTest |
|
18 |
||
19 |
def run(): |
|
20 |
t = SmokeTest() |
|
170
d1af983e283d
Renumbering commandline, pdll_arm and toolchain_macro tests to avoid duplicates.
Iain Williamson <iain.williamson@nokia.com>
parents:
5
diff
changeset
|
21 |
t.id = "85a" |
5 | 22 |
t.name = "commandline_nodefaults" |
23 |
t.description = """Test that raptor complains if you run it without specifying any components and there is no default bld.inf or system definition in the current directory.""" |
|
24 |
t.usebash = True |
|
25 |
||
26 |
t.command = """ |
|
27 |
TMPDIR="build/commandline_testdefaults"; |
|
28 |
cd $(EPOCROOT)/epoc32 && rm -rf "$TMPDIR" 2>/dev/null; mkdir -p "$TMPDIR" && cd "$TMPDIR" && |
|
29 |
sbs ${SBSLOGFILE} -n ; rm -rf "$TMPDIR" |
|
170
d1af983e283d
Renumbering commandline, pdll_arm and toolchain_macro tests to avoid duplicates.
Iain Williamson <iain.williamson@nokia.com>
parents:
5
diff
changeset
|
30 |
""" |
5 | 31 |
|
32 |
t.mustmatch = [".*warning: No default bld.inf or system definition.*found.* "] |
|
33 |
t.warnings = 1 |
|
170
d1af983e283d
Renumbering commandline, pdll_arm and toolchain_macro tests to avoid duplicates.
Iain Williamson <iain.williamson@nokia.com>
parents:
5
diff
changeset
|
34 |
t.run() |
d1af983e283d
Renumbering commandline, pdll_arm and toolchain_macro tests to avoid duplicates.
Iain Williamson <iain.williamson@nokia.com>
parents:
5
diff
changeset
|
35 |
|
d1af983e283d
Renumbering commandline, pdll_arm and toolchain_macro tests to avoid duplicates.
Iain Williamson <iain.williamson@nokia.com>
parents:
5
diff
changeset
|
36 |
t.id = "0085" |
d1af983e283d
Renumbering commandline, pdll_arm and toolchain_macro tests to avoid duplicates.
Iain Williamson <iain.williamson@nokia.com>
parents:
5
diff
changeset
|
37 |
t.name = "commandline" |
5 | 38 |
return t |