On (25/01/16 15:00), Nikolai Kondrashov wrote:
Hi everyone,
Our integration tests are leaving the temporary build directory after failing
runs. This patch fixes that.
Nick
From 7328e022f5379a8d242a3f88d4392fd5004cd777 Mon Sep 17 00:00:00
2001
From: Nikolai Kondrashov <Nikolai.Kondrashov(a)redhat.com>
Date: Fri, 22 Jan 2016 15:52:18 +0200
Subject: [PATCH] BUILD: Always remove integration test root
Remove integration test installation prefix directory in a shell trap,
within Makefile.am, instead of just at the end of the script. This makes
it execute always, regardless if the script has aborted due to
whatever failure (including test failure), or not.
Otherwise "make intgcheck" was leaving the temporary directory under
/tmp after the run.
---
if you decide to make an order with clean-up in integration test then
it will be good to move clean-up of log files from src/tests/intg/Makefile.am
to Makefile.am
LS