Nico Schottelius
|
ac5fa7cd64
|
integrate messaging into cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Steven Armstrong
|
5cc894e1e9
|
only use a single space to distinguish between the actual __target_host and the same used as part of the path; fixes #206
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
472198419a
|
don't assume first argument to be -r, fixes #200
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Nico Schottelius
|
98cdc6c139
|
fix tests so that the explorers are not changed while running tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
33559fad67
|
add comments to some tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Steven Armstrong
|
1927d4852a
|
add tests for configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
3de9b869ac
|
there is no such thing as cdist install in master
remove all traces of it to prevent the ongoing merge issues when using the real thing
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
2286acc6f2
|
fix some more tests for the next release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
136ddc05b5
|
context based changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
18c5e60ab1
|
--context in tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
975b93c20a
|
fix all tests -> back to normal
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b527479620
|
refactor out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
2f5de23ae9
|
out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8298bb0bf5
|
fix test cdist.test.config_install.ConfigInstallRunTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
c1441fc676
|
enhance singleton testing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8ab760ad90
|
document unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Steven Armstrong
|
7205cd5ecf
|
remove that crappy old singleton object_id thingy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
25bdcb1602
|
cleanup tests and ... - 100% green
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ef24ec4db8
|
port test_missing_requirements to config_install unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
e1d8645415
|
fix unit tests for config_install
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
4758daa037
|
move types into conf/ dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b1d661f4c0
|
merge ResolverTestCase and AutorequireTestCase into ExecutionOrderTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
c5c5e7b89b
|
remove requirement-finder tests - no need to test assignments and no wildcard support anymore
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
68d4bcbcb4
|
begin to fix syntax errors of merge
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
3d73cd2fd3
|
better debugging for wrong type, fix emulator tests, fixes #176
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ae8040536f
|
mere tests of autorequire and resolver into execution_order
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
44a0f5d7bb
|
restore resolver test
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Steven Armstrong
|
06fb7491fa
|
prevent requirements from leaking into autorequired objects and creating circular references
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
Conflicts:
cdist/test/autorequire/__init__.py
|
12 years ago |
Nico Schottelius
|
e03f5d08dd
|
move / correct tests in object and config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ef45cd5ce0
|
fix removal of context alias in config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
2732a4ba5c
|
finally finish the dynamic resolver
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
527ec0889b
|
remove unneeded fixtures
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
eb93d1bebd
|
begin tests for config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8031c77700
|
fix some tests, break some others :-)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
958d2d336f
|
various cleanups
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
442dc767dd
|
merge resolver test into object test - because object requirement solving is implemented
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Steven Armstrong
|
56b6c95ed4
|
implement conf-dir from CDIST_PATH environment variable
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
2fe647a1f7
|
Revert "implement before/after to declare dependencies and deprecate require"
Comment from asteven:
Some problems showed up while updating the docs and tests.
You should revert the merge for now.
This reverts commit 84770b9ef2 .
|
12 years ago |
Steven Armstrong
|
84770b9ef2
|
implement before/after to declare dependencies and deprecate require
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
--whitespace
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
1bb3c82d72
|
cleanup some logging stuff
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
7d57d1df79
|
update emulator tests to work again
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
4dd0f61934
|
--whitespace
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
217d2bcb23
|
Fix test: StdinTestCase
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
9cf80f5fdf
|
make use of env provided by manifest
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
28bf0c3ed8
|
setup target_host for tests in test main class
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
866f23ea2c
|
inject conf_dir for emulator test
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
c47d0fae1c
|
fix autorequire test case and fix cdist_base_path test assignment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
bb1a8d8e66
|
fixup manifest tests
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
04bd5d88c3
|
Fix tests for code
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
4a67d768d5
|
fix all explorer test cases
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |