From 154dfcd4aa5b9f50082cb42f1629b7520d87c3ed Mon Sep 17 00:00:00 2001 From: Andrey Lisin Date: Wed, 17 Jul 2019 15:28:33 +0300 Subject: [PATCH] Unstage Python debugger tests GitOrigin-RevId: 09de5be3209837a45d707b2f72f129948b97d93a --- .../env/python/PythonDebuggerTest.java | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java b/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java index 969ebad44af8..1c1776ca30ed 100644 --- a/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java +++ b/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java @@ -15,7 +15,6 @@ import com.intellij.xdebugger.frame.XValueChildrenList; import com.jetbrains.TestEnv; import com.jetbrains.env.PyEnvTestCase; import com.jetbrains.env.PyProcessWithConsoleTestTask; -import com.jetbrains.env.Staging; import com.jetbrains.env.StagingOn; import com.jetbrains.env.python.debug.PyDebuggerTask; import com.jetbrains.env.ut.PyTestTestProcessRunner; @@ -43,7 +42,6 @@ import static org.junit.Assert.*; /** * @author traff */ -@Staging //Thread leak breaks all other tests public class PythonDebuggerTest extends PyEnvTestCase { private static class BreakpointStopAndEvalTask extends PyDebuggerTask { BreakpointStopAndEvalTask(String scriptName) { @@ -82,7 +80,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testPydevTests_Debugger() { pytests("tests_python/test_debugger.py", Sets.newHashSet("pytest", "-iron", "untangle")); } @@ -98,7 +95,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testFrameEvalAndTracing() { pytests("tests_python/test_frame_eval_and_tracing.py", Sets.newHashSet("pytest", "-iron")); } @@ -182,7 +178,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging // thread leak public void testConditionalBreakpoint() { runPythonTest(new PyDebuggerTask("/debug", "test1.py") { @Override @@ -214,7 +209,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testDebugConsole() { runPythonTest(new PyDebuggerTask("/debug", "test1.py") { @Override @@ -421,7 +415,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testRunToLine() { runPythonTest(new PyDebuggerTask("/debug", "test_runtoline.py") { @Override @@ -549,6 +542,7 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test + @StagingOn(os = TestEnv.WINDOWS) public void testExceptionBreakpointIgnoreLibrariesOnRaise() { runPythonTest(new PyDebuggerTask("/debug", "test_ignore_lib.py") { @@ -1336,7 +1330,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testSuspendAllThreadsPolicy() { runPythonTest(new PyDebuggerTask("/debug", "test_two_threads.py") { @Override @@ -1368,7 +1361,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testSuspendAllThreadsResume() { runPythonTest(new PyDebuggerTask("/debug", "test_two_threads_resume.py") { @Override @@ -1417,7 +1409,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testShowReferringObjects() { runPythonTest(new PyDebuggerTask("/debug", "test_ref.py") { @Override @@ -1622,8 +1613,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { //TODO: That doesn't work now: case from test_continuation.py and test_continuation2.py are treated differently by interpreter // (first line is executed in first case and last line in second) - - @Staging @Test public void testBreakOnContinuationLine() { runPythonTest(new PyDebuggerTask("/debug", "test_continuation.py") { @@ -1669,7 +1658,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { }); } - @Staging @Test public void testShowCommandline() { runPythonTest(new PyDebuggerTask("/debug", "test2.py") { @@ -1697,7 +1685,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { }); } - @Staging @Test public void testShowCommandlineModule() { runPythonTest(new PyDebuggerTask("/debug", "test2") { @@ -1728,7 +1715,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { }); } - @Staging @Test public void testBuiltinBreakpoint() { runPythonTest(new PyDebuggerTask("/debug", "test_builtin_break.py") { @@ -2002,6 +1988,7 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test + @StagingOn(os = TestEnv.WINDOWS) public void testWarningsSuppressing() { runPythonTest(new PyDebuggerTask("/debug", "test_warnings_suppressing.py") { @Override @@ -2080,6 +2067,7 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test + @StagingOn(os = TestEnv.WINDOWS) public void testDontStopOnSystemExit() { runPythonTest(new PyDebuggerTask("/debug", "test_sys_exit.py") { @Override