Skip to contentSkip to conversation

Fix: Tests should set the LTTNG_SESSION_CONFIG_XSD_PATH variable

PATCH David Goulet 1 participant 1 message May 14, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Merged!

Quoted 24 lines · Jérémie Galarneau

Tests should set the LTTNG_SESSION_CONFIG_XSD_PATH environment variable to use the in-tree session configuration schema.

---
 tests/utils/utils.sh | 2 ++
 1 file changed, 2 insertions(+)
tests/utils/utils.sh +2 -0
index a1a26d9..280cc40 100644
@@ -166,6 +166,8 @@ function start_lttng_sessiond()
 	fi
 
 	DIR=$(readlink -f $TESTDIR)
+	: ${LTTNG_SESSION_CONFIG_XSD_PATH=${DIR}/../src/common/config/}
+	export LTTNG_SESSION_CONFIG_XSD_PATH
 
 	if [ -z $(pidof lt-$SESSIOND_BIN) ]; then
 		$DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --background --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd"
Signature · 1 line
1.9.2

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev