-# 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
},
).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\\'
)
{"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'