summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-10-22 17:52:21 +0200
committerToshio Kuratomi <toshio@fedoraproject.org>2015-10-22 18:03:12 +0200
commited6aa75d635ca2dc95c02aa30aa24339854f6567 (patch)
treeb564e7e28971e2c516519deeffba196d06ced5c1
parentRestore the automatic addition of invocation to the output (diff)
downloadansible-ed6aa75d635ca2dc95c02aa30aa24339854f6567.tar.xz
ansible-ed6aa75d635ca2dc95c02aa30aa24339854f6567.zip
Add parsing test to travis to catch that invocation is missing
-rw-r--r--.travis.yml2
-rw-r--r--test/integration/roles/test_good_parsing/tasks/main.yml10
2 files changed, 6 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 25ffe5ae7c..1ff0ca118d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,6 @@ script:
- if test x"$TOXENV" != x'py24' ; then tox ; fi
- if test x"$TOXENV" = x'py24' ; then python2.4 -V && python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils ; fi
#- make -C docsite all
-- if test x"$INTEGRATION" = x'yes' ; then source ./hacking/env-setup && cd test/integration/ && make test_var_precedence && make unicode ; fi
+- if test x"$INTEGRATION" = x'yes' ; then source ./hacking/env-setup && cd test/integration/ && make parsing && make test_var_precedence && make unicode ; fi
after_success:
- coveralls
diff --git a/test/integration/roles/test_good_parsing/tasks/main.yml b/test/integration/roles/test_good_parsing/tasks/main.yml
index 03afb99295..2297442b73 100644
--- a/test/integration/roles/test_good_parsing/tasks/main.yml
+++ b/test/integration/roles/test_good_parsing/tasks/main.yml
@@ -161,11 +161,11 @@
#
#- debug: var=result
-#- name: assert the task with variable module name ran
-# assert:
-# that:
-# - result.invocation.module_name == "debug"
-# - result.msg == "this should be debugged"
+- name: assert the task with variable module name ran
+ assert:
+ that:
+ - result.invocation.module_name == "debug"
+ - result.msg == "this should be debugged"
- name: test conditional includes
include: test_include_conditional.yml