equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2009 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 "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 import os |
|
18 from testautomation.copy_dir import copy_dir |
|
19 |
|
20 ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) |
|
21 |
|
22 def export_standalone(target_path): |
|
23 """ |
|
24 Export any needed extra data for standalone tests. |
|
25 @param target_path: The path where the standalone tests are being exported. |
|
26 """ |
|
27 copy_dir(source_dir = os.path.join(ROOT_PATH, '../ConeRulePlugin/ruleplugin/evals/tests/layer_filtering_project'), |
|
28 target_dir = os.path.join(target_path, 'testdata/uses_layer_test_project'), |
|
29 dir_ignore_functions = [lambda d: d == '.svn']) |