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
c697aa1f
Commit
c697aa1f
authored
Jul 16, 2013
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-4546 Perfschema unit tests to return non-zero on failure.
pfs unit test fixed.
parent
7093049c
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
10 deletions
+12
-10
storage/perfschema/unittest/CMakeLists.txt
storage/perfschema/unittest/CMakeLists.txt
+1
-1
storage/perfschema/unittest/pfs-t.cc
storage/perfschema/unittest/pfs-t.cc
+1
-1
storage/perfschema/unittest/pfs_account-oom-t.cc
storage/perfschema/unittest/pfs_account-oom-t.cc
+1
-1
storage/perfschema/unittest/pfs_host-oom-t.cc
storage/perfschema/unittest/pfs_host-oom-t.cc
+1
-1
storage/perfschema/unittest/pfs_instr-oom-t.cc
storage/perfschema/unittest/pfs_instr-oom-t.cc
+1
-1
storage/perfschema/unittest/pfs_instr-t.cc
storage/perfschema/unittest/pfs_instr-t.cc
+1
-1
storage/perfschema/unittest/pfs_instr_class-oom-t.cc
storage/perfschema/unittest/pfs_instr_class-oom-t.cc
+1
-1
storage/perfschema/unittest/pfs_instr_class-t.cc
storage/perfschema/unittest/pfs_instr_class-t.cc
+1
-1
storage/perfschema/unittest/pfs_timer-t.cc
storage/perfschema/unittest/pfs_timer-t.cc
+3
-1
storage/perfschema/unittest/pfs_user-oom-t.cc
storage/perfschema/unittest/pfs_user-oom-t.cc
+1
-1
No files found.
storage/perfschema/unittest/CMakeLists.txt
View file @
c697aa1f
...
@@ -24,5 +24,5 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
...
@@ -24,5 +24,5 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
ADD_DEFINITIONS
(
-DMYSQL_SERVER
)
ADD_DEFINITIONS
(
-DMYSQL_SERVER
)
MY_ADD_TESTS
(
pfs_instr_class pfs_instr_class-oom pfs_instr pfs_instr-oom pfs_account-oom pfs_host-oom pfs_user-oom pfs
MY_ADD_TESTS
(
pfs_instr_class pfs_instr_class-oom pfs_instr pfs_instr-oom pfs_account-oom pfs_host-oom pfs_
timer pfs_
user-oom pfs
EXT
"cc"
LINK_LIBRARIES perfschema mysys
)
EXT
"cc"
LINK_LIBRARIES perfschema mysys
)
storage/perfschema/unittest/pfs-t.cc
View file @
c697aa1f
...
@@ -1636,5 +1636,5 @@ int main(int argc, char **argv)
...
@@ -1636,5 +1636,5 @@ int main(int argc, char **argv)
MY_INIT
(
argv
[
0
]);
MY_INIT
(
argv
[
0
]);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
storage/perfschema/unittest/pfs_account-oom-t.cc
View file @
c697aa1f
...
@@ -112,6 +112,6 @@ int main(int, char **)
...
@@ -112,6 +112,6 @@ int main(int, char **)
MY_INIT
(
"pfs_account-oom-t"
);
MY_INIT
(
"pfs_account-oom-t"
);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
storage/perfschema/unittest/pfs_host-oom-t.cc
View file @
c697aa1f
...
@@ -112,6 +112,6 @@ int main(int, char **)
...
@@ -112,6 +112,6 @@ int main(int, char **)
MY_INIT
(
"pfs_host-oom-t"
);
MY_INIT
(
"pfs_host-oom-t"
);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
storage/perfschema/unittest/pfs_instr-oom-t.cc
View file @
c697aa1f
...
@@ -650,6 +650,6 @@ int main(int argc, char **argv)
...
@@ -650,6 +650,6 @@ int main(int argc, char **argv)
MY_INIT
(
argv
[
0
]);
MY_INIT
(
argv
[
0
]);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
storage/perfschema/unittest/pfs_instr-t.cc
View file @
c697aa1f
...
@@ -411,6 +411,6 @@ int main(int argc, char **argv)
...
@@ -411,6 +411,6 @@ int main(int argc, char **argv)
MY_INIT
(
argv
[
0
]);
MY_INIT
(
argv
[
0
]);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
storage/perfschema/unittest/pfs_instr_class-oom-t.cc
View file @
c697aa1f
...
@@ -69,6 +69,6 @@ int main(int argc, char **argv)
...
@@ -69,6 +69,6 @@ int main(int argc, char **argv)
MY_INIT
(
argv
[
0
]);
MY_INIT
(
argv
[
0
]);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
storage/perfschema/unittest/pfs_instr_class-t.cc
View file @
c697aa1f
...
@@ -674,5 +674,5 @@ int main(int argc, char **argv)
...
@@ -674,5 +674,5 @@ int main(int argc, char **argv)
MY_INIT
(
argv
[
0
]);
MY_INIT
(
argv
[
0
]);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
storage/perfschema/unittest/pfs_timer-t.cc
View file @
c697aa1f
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include <my_global.h>
#include <my_global.h>
#include <my_pthread.h>
#include <my_pthread.h>
#include <pfs_atomic.h>
#include <pfs_timer.h>
#include <pfs_timer.h>
#include "my_sys.h"
#include "my_sys.h"
#include <tap.h>
#include <tap.h>
...
@@ -117,6 +118,7 @@ int main(int, char **)
...
@@ -117,6 +118,7 @@ int main(int, char **)
plan
(
5
);
plan
(
5
);
MY_INIT
(
"pfs_timer-t"
);
MY_INIT
(
"pfs_timer-t"
);
do_all_tests
();
do_all_tests
();
return
0
;
my_end
(
0
);
return
exit_status
();
}
}
storage/perfschema/unittest/pfs_user-oom-t.cc
View file @
c697aa1f
...
@@ -112,6 +112,6 @@ int main(int, char **)
...
@@ -112,6 +112,6 @@ int main(int, char **)
MY_INIT
(
"pfs_user-oom-t"
);
MY_INIT
(
"pfs_user-oom-t"
);
do_all_tests
();
do_all_tests
();
my_end
(
0
);
my_end
(
0
);
return
0
;
return
exit_status
()
;
}
}
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