equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of the License "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 from raptor_tests import SmokeTest |
|
18 |
|
19 def run(): |
|
20 t = SmokeTest() |
|
21 t.name = "missing_keywords" |
|
22 |
|
23 t.command = "sbs -b smoke_suite/test_resources/invalid_metadata/bld.inf -c armv5" |
|
24 |
|
25 t.mustmatch_singleline = [ |
|
26 "sbs: error: required keyword TARGET is missing" |
|
27 ] |
|
28 |
|
29 t.errors = 1 |
|
30 t.returncode = 1 |
|
31 t.run() |
|
32 return t |