Unexpected success on ust_soname_vs_tools for 2.10
[deliverable/lttng-ivc.git] / lttng_ivc / tests / ust_soname_vs_tools / test_ust_so_name_vs_tools.py
index fbb2a1396d53e4377a6b3cdf058a718d7acec288..f45a38ce9e1a1d439e52060409c50bdf4a8604d4 100644 (file)
@@ -1,3 +1,23 @@
+# Copyright (c) 2017 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
 import pytest
 import subprocess
 
@@ -5,7 +25,7 @@ import lttng_ivc.utils.ProjectFactory as ProjectFactory
 import lttng_ivc.settings as Settings
 
 """
-TODO: Document how the tests is donne and what it tests
+TODO: Document how the tests is done and what it tests
 
 At configure time
 At build time
@@ -55,9 +75,9 @@ test_matrix_label = [
     ("lttng-ust-2.9", "lttng-tools-2.8", "lttng-ust-2.8", True),
     ("lttng-ust-2.9", "lttng-tools-2.9", "lttng-ust-2.9", True),
     ("lttng-ust-2.9", "lttng-tools-2.10", "lttng-ust-2.10", False),
-    ("lttng-ust-2.10", "lttng-tools-2.7", "lttng-ust-2.7", False),
-    ("lttng-ust-2.10", "lttng-tools-2.8", "lttng-ust-2.8", False),
-    ("lttng-ust-2.10", "lttng-tools-2.9", "lttng-ust-2.9", False),
+    pytest.param("lttng-ust-2.10", "lttng-tools-2.7", "lttng-ust-2.7", False, marks=pytest.mark.xfail(reason="Should fail but does not ....")),
+    pytest.param("lttng-ust-2.10", "lttng-tools-2.8", "lttng-ust-2.8", False, marks=pytest.mark.xfail(reason="Should fail but does not ....")),
+    pytest.param("lttng-ust-2.10", "lttng-tools-2.9", "lttng-ust-2.9", False, marks=pytest.mark.xfail(reason="Should fail but does not ....")),
     ("lttng-ust-2.10", "lttng-tools-2.10", "lttng-ust-2.10", True),
 ]
 
@@ -74,8 +94,8 @@ else:
 
 @pytest.mark.parametrize("ust_label,tools_label,base_tools_ust_dep,should_pass", runtime_matrix_label)
 def test_soname_configure(tmpdir, ust_label, tools_label, base_tools_ust_dep, should_pass):
-    ust = ProjectFactory.get(ust_label, str(tmpdir.mkdir("lttng-ust")))
-    tools = ProjectFactory.get(tools_label, str(tmpdir.mkdir("lttng-tools")))
+    ust = ProjectFactory.get_fresh(ust_label, str(tmpdir.mkdir("lttng-ust")))
+    tools = ProjectFactory.get_fresh(tools_label, str(tmpdir.mkdir("lttng-tools")))
 
     ust.autobuild()
 
This page took 0.02395 seconds and 5 git commands to generate.