Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into V9_dev
[modules/kernel.git]
/
src
/
SALOMELocalTrace
/
Test
/
TestSALOMELocalTrace.py
diff --git
a/src/SALOMELocalTrace/Test/TestSALOMELocalTrace.py
b/src/SALOMELocalTrace/Test/TestSALOMELocalTrace.py
index 6c350af68430dc74541171214574e0a719b4103e..3c621ee5be14fe4332fdf84001a1b2a2712130bd 100644
(file)
--- a/
src/SALOMELocalTrace/Test/TestSALOMELocalTrace.py
+++ b/
src/SALOMELocalTrace/Test/TestSALOMELocalTrace.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-7,7
+7,7
@@
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License
, or (at your option) any later version
.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-21,7
+21,8
@@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-import sys, os,signal,string,commands
+import sys, signal,string,subprocess
+import subprocess
import runSalome
import setenv
import runSalome
import setenv
@@
-33,7
+34,8
@@
setenv.set_env(args, modules_list, modules_root_dir)
# execute Unit Test
# execute Unit Test
-command = ['TestSALOMELocalTrace']
-ret =
os.spawnvp(os.P_WAIT, command[0],
command)
+command = ['
./
TestSALOMELocalTrace']
+ret =
subprocess.call(
command)
# no process to kill
# no process to kill
+exit(ret)