Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e0cd99c2
Commit
e0cd99c2
authored
Feb 10, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - add more tests to autotest
parent
59df6e25
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
3 deletions
+38
-3
ndb/test/run-test/daily-basic-tests.txt
ndb/test/run-test/daily-basic-tests.txt
+1
-1
ndb/test/run-test/daily-devel-tests.txt
ndb/test/run-test/daily-devel-tests.txt
+29
-0
ndb/test/run-test/main.cpp
ndb/test/run-test/main.cpp
+7
-2
ndb/test/run-test/run-test.hpp
ndb/test/run-test/run-test.hpp
+1
-0
No files found.
ndb/test/run-test/daily-basic-tests.txt
View file @
e0cd99c2
max-time:
250
00
max-time:
36
00
cmd: atrt-mysql-test-run
args: --force
...
...
ndb/test/run-test/daily-devel-tests.txt
View file @
e0cd99c2
...
...
@@ -204,3 +204,32 @@ max-time: 2500
cmd: test_event
args: -n BasicEventOperation T1 T6
max-time: 300
cmd: DbCreate
args:
max-time: 180
cmd: DbAsyncGenerator
args: -t 60 -p 1
type: bench
max-time: 180
cmd: DbAsyncGenerator
args: -t 60 -p 25
type: bench
max-time: 180
cmd: DbAsyncGenerator
args: -t 60 -p 100
type: bench
max-time: 180
cmd: DbAsyncGenerator
args: -t 60 -p 200
type: bench
max-time: 180
cmd: DbAsyncGenerator
args: -t 60 -p 1 -proc 25
type: bench
ndb/test/run-test/main.cpp
View file @
e0cd99c2
...
...
@@ -219,7 +219,7 @@ main(int argc, const char ** argv){
fflush
(
g_report_file
);
}
if
(
g_mode_bench
||
(
g_mode_regression
&&
result
)){
if
(
test_case
.
m_report
||
g_mode_bench
||
(
g_mode_regression
&&
result
)){
BaseString
tmp
;
tmp
.
assfmt
(
"result.%d"
,
test_no
);
if
(
rename
(
"result"
,
tmp
.
c_str
())
!=
0
){
...
...
@@ -228,7 +228,7 @@ main(int argc, const char ** argv){
goto
end
;
}
}
if
(
g_mode_interactive
&&
result
){
g_logger
.
info
(
"Encountered failed test in interactive mode - terminating"
);
...
...
@@ -908,6 +908,11 @@ read_test_case(FILE * file, atrt_testcase& tc, int& line){
tc
.
m_max_time
=
60000
;
else
tc
.
m_max_time
=
atoi
(
mt
);
if
(
p
.
get
(
"type"
,
&
mt
)
&&
strcmp
(
mt
,
"bench"
)
==
0
)
tc
.
m_report
=
true
;
else
tc
.
m_report
=
false
;
return
true
;
}
...
...
ndb/test/run-test/run-test.hpp
View file @
e0cd99c2
...
...
@@ -68,6 +68,7 @@ struct atrt_config {
};
struct
atrt_testcase
{
bool
m_report
;
time_t
m_max_time
;
BaseString
m_command
;
BaseString
m_args
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment