This repository was archived by the owner on Sep 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +39
-1
lines changed Expand file tree Collapse file tree 3 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
1
+
2
+ ! Makefile
Original file line number Diff line number Diff line change
1
+
2
+
3
+
4
+ .SUFFIXES : .java .class
5
+
6
+ CP = .:lib/junit-4.12.jar:lib/hamcrest-core-1.3.jar:lib/postgresql-9.4.1209.jre6.jar
7
+ JC = javac
8
+ JFLAGS = -g
9
+ JUNIT = org.junit.runner.JUnitCore
10
+ RM = rm
11
+
12
+ .java.class :
13
+ $(JC ) $(JFLAGS ) -cp $(CP ) $* .java
14
+
15
+ CLASSES = \
16
+ PLTestBase.java \
17
+ InsertTPCCTest.java \
18
+ InsertPSTest.java \
19
+ UpdateTest.java
20
+
21
+ default : classes
22
+
23
+ classes : $(CLASSES:.java=.class )
24
+
25
+ clean :
26
+ $(RM ) * .class
27
+
28
+ test : $(CLASSES )
29
+ java -jar lib/junit-platform-console-standalone-1.1.0.jar \
30
+ --class-path $(CP ) \
31
+ -c InsertPSTest
32
+ # -c UpdateTest
33
+ # -c InsertPSTest -c InsertTPCCTest
34
+
35
+
36
+
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ const std::string SettingsManager::GetInfo() const {
114
114
info.append (
115
115
StringUtil::Format (" %28s: %-28s\n " , " Code-generation" ,
116
116
GetBool (SettingId::codegen) ? " enabled" : " disabled" ));
117
- info.append (StringUtil::Format (" %28s: %-28s \n " , " Optimization Timeout" ,
117
+ info.append (StringUtil::Format (" %28s: %-28i \n " , " Optimization Timeout" ,
118
118
GetInt (SettingId::task_execution_timeout)));
119
119
return StringBoxUtil::Box (info);
120
120
}
You can’t perform that action at this time.
0 commit comments