Remove C-specific cpp_basic_global_var_built_in unit test

There is no need for it, the common global_vars unit test is more extensive
and passes too now.
This commit is contained in:
Vadim Zeitlin 2016-04-22 01:37:24 +02:00
commit 75d9cb4769
4 changed files with 12 additions and 19 deletions

View file

@ -19,7 +19,6 @@ CPP_TEST_CASES := \
cpp_basic_class_virtual_method \
cpp_basic_class_var_pub_member_built_in \
cpp_basic_class_var_pub_member_class \
cpp_basic_global_var_built_in \
cpp_basic_global_var_class \
cpp_basic_namespaced_class \
cpp_basic_template_function \

View file

@ -1,13 +0,0 @@
#include <assert.h>
#include "cpp_basic_global_var_built_in/cpp_basic_global_var_built_in_wrap.h"
int main(int argc, const char *argv[])
{
assert(myGlobalInt == 42);
myGlobalInt = 4711;
assert(myGlobalInt == 4711);
return 0;
}

View file

@ -0,0 +1,12 @@
#include <assert.h>
#include "global_vars/global_vars_wrap.h"
int main(int argc, const char *argv[])
{
init();
assert(strcmp(b_get(), "string b") == 0);
assert(x == 1234);
return 0;
}

View file

@ -1,5 +0,0 @@
%module cpp_basic_global_var_atom
%inline {
int myGlobalInt = 42;
}