aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/alloc_SUITE_data/testcase_driver.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-10-12 17:06:27 +0200
committerSverker Eriksson <[email protected]>2015-11-26 19:48:10 +0100
commitd1464746f9e2c24e7bc645a4fdb543d63a8e3e87 (patch)
tree714ee55363e09b2fedfb312a1e4df11607892ccc /erts/emulator/test/alloc_SUITE_data/testcase_driver.h
parent8421d318090ca59406ef6e04a43af16e1a467d9b (diff)
downloadotp-d1464746f9e2c24e7bc645a4fdb543d63a8e3e87.tar.gz
otp-d1464746f9e2c24e7bc645a4fdb543d63a8e3e87.tar.bz2
otp-d1464746f9e2c24e7bc645a4fdb543d63a8e3e87.zip
erts: Pass free mem and build type to alloc_SUITE tests
Diffstat (limited to 'erts/emulator/test/alloc_SUITE_data/testcase_driver.h')
-rw-r--r--erts/emulator/test/alloc_SUITE_data/testcase_driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/testcase_driver.h b/erts/emulator/test/alloc_SUITE_data/testcase_driver.h
index 698ae66fac..f0ca91bd06 100644
--- a/erts/emulator/test/alloc_SUITE_data/testcase_driver.h
+++ b/erts/emulator/test/alloc_SUITE_data/testcase_driver.h
@@ -24,8 +24,11 @@
#include <stdlib.h>
typedef struct {
+ ErlNifEnv* curr_env;
char *testcase_name;
int thr_nr;
+ int free_mem; /* in bytes */
+ ERL_NIF_TERM build_type; /* opt, debug, valgrind, ... */
void *extra;
} TestCaseState_t;