A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the new xbt/str testsuite to the autogenerated
[simgrid.git]
/
src
/
simgrid_units_main.c
diff --git
a/src/simgrid_units_main.c
b/src/simgrid_units_main.c
index
9f5ee42
..
ff18a51
100644
(file)
--- a/
src/simgrid_units_main.c
+++ b/
src/simgrid_units_main.c
@@
-2,6
+2,8
@@
/* GENERATED FILE, DO NOT EDIT */
/*******************************/
/* GENERATED FILE, DO NOT EDIT */
/*******************************/
+#include <stdio.h>
+
#include "xbt.h"
extern xbt_test_unit_t _xbt_current_unit;
#include "xbt.h"
extern xbt_test_unit_t _xbt_current_unit;
@@
-43,6
+45,10
@@
extern xbt_test_unit_t _xbt_current_unit;
void test_swag_basic(void);
/* SGU: END FILE */
void test_swag_basic(void);
/* SGU: END FILE */
+ /* SGU: BEGIN FILE xbt/xbt_str.c */
+ void test_split_quoted(void);
+ /* SGU: END FILE */
+
/* SGU: BEGIN FILE xbt/config.c */
void test_config_memuse(void);
void test_config_validation(void);
/* SGU: BEGIN FILE xbt/config.c */
void test_config_memuse(void);
void test_config_validation(void);
@@
-102,6
+108,11
@@
int main(int argc, char *argv[]) {
xbt_test_suite_push(suite, "basic", test_swag_basic, "Basic usage");
/* SGU: END FILE */
xbt_test_suite_push(suite, "basic", test_swag_basic, "Basic usage");
/* SGU: END FILE */
+ /* SGU: BEGIN FILE xbt/xbt_str.c */
+ suite = xbt_test_suite_by_name("xbt_str","String Handling");
+ xbt_test_suite_push(suite, "xbt_str_split_quoted", test_split_quoted, "test the function xbt_str_split_quoted");
+ /* SGU: END FILE */
+
/* SGU: BEGIN FILE xbt/config.c */
suite = xbt_test_suite_by_name("config","Configuration support");
xbt_test_suite_push(suite, "memuse", test_config_memuse, "Alloc and free a config set");
/* SGU: BEGIN FILE xbt/config.c */
suite = xbt_test_suite_by_name("config","Configuration support");
xbt_test_suite_push(suite, "memuse", test_config_memuse, "Alloc and free a config set");