File: disable-test-TestModuleHotload.patch

package info (click to toggle)
0ad 0.28.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 182,352 kB
  • sloc: cpp: 201,989; javascript: 19,730; ansic: 15,057; python: 6,597; sh: 2,046; perl: 1,232; xml: 543; java: 533; makefile: 105
file content (81 lines) | stat: -rw-r--r-- 2,452 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Description: Disable module hotloading tests
 Since Questing, with rust-coreutils, the file change on disk is not picked up.
 This may mean that hotloading will not work on platforms with rust-coreutils.
Author: Nicolas Auvray <itms@wildfiregames.com>
Bug: https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2136917
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/source/scriptinterface/tests/test_Module.h
+++ b/source/scriptinterface/tests/test_Module.h
@@ -536,7 +536,7 @@
 		TS_ASSERT_STR_EQUALS(returnValue, "Base01");
 	}
 
-	void test_Hotload()
+	void DISABLED_test_Hotload()
 	{
 		constexpr int goal{2};
 
@@ -563,7 +563,7 @@
 		TS_ASSERT_EQUALS(counter, goal);
 	}
 
-	void test_HotloadWithoutIncrement()
+	void DISABLED_test_HotloadWithoutIncrement()
 	{
 		ScriptInterface script{"Test", "Test", g_ScriptContext, AllowAllPredicate};
 		const ScriptRequest rq{script};
@@ -575,7 +575,7 @@
 		TS_ASSERT(result.begin()->IsDone());
 	}
 
-	void test_HotloadIndipendence()
+	void DISABLED_test_HotloadIndipendence()
 	{
 		ScriptInterface script{"Test", "Test", g_ScriptContext, AllowAllPredicate};
 		const ScriptRequest rq{script};
@@ -614,7 +614,7 @@
 		}
 	}
 
-	void test_HotloadModified()
+	void DISABLED_test_HotloadModified()
 	{
 		ScriptInterface script{"Test", "Test", g_ScriptContext, AllowAllPredicate};
 		const ScriptRequest rq{script};
@@ -633,7 +633,7 @@
 		TS_ASSERT(iter->IsDone());
 	}
 
-	void test_HotloadIndirect()
+	void DISABLED_test_HotloadIndirect()
 	{
 		ScriptInterface script{"Test", "Test", g_ScriptContext, AllowAllPredicate};
 		const ScriptRequest rq{script};
@@ -650,7 +650,7 @@
 		TS_ASSERT(iter->IsDone());
 	}
 
-	void test_HotloadUnobserved()
+	void DISABLED_test_HotloadUnobserved()
 	{
 		ScriptInterface script{"Test", "Test", g_ScriptContext, AllowAllPredicate};
 		{
@@ -679,7 +679,7 @@
 		}
 	}
 
-	void test_HotloadAfterResultDestruction()
+	void DISABLED_test_HotloadAfterResultDestruction()
 	{
 		ScriptInterface script{"Test", "Test", g_ScriptContext, AllowAllPredicate};
 		{
@@ -701,7 +701,7 @@
 		TS_ASSERT_STR_NOT_CONTAINS(logger.GetOutput(), "blah blah blah");
 	}
 
-	void test_HotloadAfterScriptRequestDestruction()
+	void DISABLED_test_HotloadAfterScriptRequestDestruction()
 	{
 		ScriptInterface script{"Test", "Test", g_ScriptContext, AllowAllPredicate};
 		auto result = script.GetModuleLoader().LoadModule(ScriptRequest{script}, "empty.js");