[Tarantool-patches] [PATCH v2 3/3] Skip failing test from out-of-source build

Alexander V. Tikhonov avtikhon at tarantool.org
Wed Apr 22 20:44:45 MSK 2020


Skipped failing test app-tap/http_client.test.lua
from out-of-source build. Left #4258 issue opened
till it will be fixed.

Part of #4258
---
 .travis.mk                        | 2 +-
 test/app-tap/http_client.skipcond | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.travis.mk b/.travis.mk
index 5cde9d22e..978be14ab 100644
--- a/.travis.mk
+++ b/.travis.mk
@@ -88,7 +88,7 @@ build_outofsrc:
 		make -j
 
 test_outofsrc_no_deps: build_outofsrc
-	cd ${OUT_OF_SRC_BLD_PATH} && make test-force
+	cd ${OUT_OF_SRC_BLD_PATH} && OUTOFSRC_BUILD=ON make test-force
 
 test_outofsrc: deps_debian test_outofsrc_no_deps
 
diff --git a/test/app-tap/http_client.skipcond b/test/app-tap/http_client.skipcond
index 48e17903e..2cc2572c5 100644
--- a/test/app-tap/http_client.skipcond
+++ b/test/app-tap/http_client.skipcond
@@ -1,5 +1,10 @@
+import os
 import platform
 
+# Disabled at out-of-source build due to issue #4258.
+if os.getenv("OUTOFSRC_BUILD") == 'ON':
+    self.skip = 1
+
 # Disabled on FreeBSD due to flaky fail #4271.
 if platform.system() == 'FreeBSD':
     self.skip = 1
-- 
2.17.1



More information about the Tarantool-patches mailing list