tests: rename BT_OS_TYPE to BT_TESTS_OS_TYPE
[babeltrace.git] / tests / plugins / src.ctf.fs / query / test_query_trace_info.py
index e0e716b21b73a2fda3b9392bd8d4fb18ab0e2818..eb8fd25ce8e63638386bed9f6f9cbd96bcd89f54 100644 (file)
@@ -1,18 +1,7 @@
-# Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; only version 2
-# of the License.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
 #
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 import unittest
 import bt2
@@ -144,7 +133,7 @@ class QueryTraceInfoPortNameTestCase(unittest.TestCase):
             },
         ).query()
 
-        if os.environ['BT_OS_TYPE'] == 'mingw':
+        if os.environ['BT_TESTS_OS_TYPE'] == 'mingw':
             os_stream_path = (
                 '\\tests\\data\\ctf-traces\\intersection\\3eventsintersect\\'
             )
@@ -175,7 +164,7 @@ class QueryTraceInfoPortNameTestCase(unittest.TestCase):
             {"inputs": [os.path.join(test_ctf_traces_path, "succeed", "succeed1")]},
         ).query()
 
-        if os.environ['BT_OS_TYPE'] == 'mingw':
+        if os.environ['BT_TESTS_OS_TYPE'] == 'mingw':
             os_stream_path = '\\tests\\data\\ctf-traces\\succeed\\succeed1\\dummystream'
         else:
             os_stream_path = '/tests/data/ctf-traces/succeed/succeed1/dummystream'
This page took 0.028343 seconds and 4 git commands to generate.