1 |
commit: 5064ecb5c2ebd7cbfe4927991ec1320a6fcc09ee |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 18 16:40:12 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 18 16:40:12 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite-library.git;a=commit;h=5064ecb5 |
7 |
|
8 |
Move ebuilds vars to a separate dict. |
9 |
|
10 |
--- |
11 |
basic/phase-function-order.lua | 4 +++- |
12 |
basic/phase-function-order.py | 4 +++- |
13 |
2 files changed, 6 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/basic/phase-function-order.lua b/basic/phase-function-order.lua |
16 |
index 90bf193..291546c 100644 |
17 |
--- a/basic/phase-function-order.lua |
18 |
+++ b/basic/phase-function-order.lua |
19 |
@@ -15,7 +15,9 @@ phase_funcs={ |
20 |
} |
21 |
|
22 |
-- ebuild vars |
23 |
-DESCRIPTION="Phase function execution order test" |
24 |
+ebuild_vars={ |
25 |
+ DESCRIPTION="Phase function execution order test" |
26 |
+} |
27 |
|
28 |
-- phase functions |
29 |
for func in pairs(phase_funcs) do |
30 |
|
31 |
diff --git a/basic/phase-function-order.py b/basic/phase-function-order.py |
32 |
index 59307f9..01e71c9 100644 |
33 |
--- a/basic/phase-function-order.py |
34 |
+++ b/basic/phase-function-order.py |
35 |
@@ -11,7 +11,9 @@ class EbuildTest(object): |
36 |
class PhaseFunctionOrderTest(EbuildTest): |
37 |
relevant_eapis = (0, 2, 4) |
38 |
|
39 |
- DESCRIPTION = 'Phase function execution order test' |
40 |
+ ebuild_vars = { |
41 |
+ 'DESCRIPTION': 'Phase function execution order test' |
42 |
+ } |
43 |
|
44 |
def __init__(self): |
45 |
for func in self.phase_funcs.keys(): |