void test_split_str(void);
/* SGU: END FILE */
+ /* SGU: BEGIN FILE xbt/xbt_sha.c */
+ void test_crypto_sha(void);
+ /* SGU: END FILE */
+
/* SGU: BEGIN FILE xbt/config.c */
void test_config_memuse(void);
void test_config_validation(void);
char selection[1024];
int i;
+ int res;
+
/* SGU: BEGIN SUITES DECLARATION */
/* SGU: BEGIN FILE xbt/cunit.c */
suite = xbt_test_suite_by_name("cunit","Testsuite mechanism autotest");
xbt_test_suite_push(suite, "xbt_str_split_str", test_split_str, "test the function xbt_str_split_str");
/* SGU: END FILE */
+ /* SGU: BEGIN FILE xbt/xbt_sha.c */
+ suite = xbt_test_suite_by_name("hash","Various hash functions");
+ xbt_test_suite_push(suite, "sha", test_crypto_sha, "Test of the sha algorithm");
+ /* 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");
}
/* Got all my tests to do */
- return xbt_test_run(selection);
+ res = xbt_test_run(selection);
+ xbt_exit();
+ return res;
}
/*******************************/
/* GENERATED FILE, DO NOT EDIT */