New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cdt tester #317

wants to merge 26 commits into
base: develop


None yet
1 participant
Copy link

larryk85 commented Dec 11, 2018

This new functionality allows for contract code to be compiled natively. And a new tester framework to utilize this functionality.

  • eosio-cpp / eosio-ld
    • new flag fnative added to allow for native compiles and linking
  • libnative/cdt tester
    • libc, libcxx, eosiolib are now built for native and wasm versions
    • a new library with a minimal crt and functionality to set and get intrinsics at runtime.
      • eosio_assert*, memcpy/cmp/move, softfloat and builtins are pre-implemented and fixed.
      • print* intrinsics are pre-implemented and allowable to be reset at runtime.
    • a new tester library with REQUIRE_ASSERT, CHECK_ASSERT, REQUIRE_EQUAL, CHECK_EQUAL macros/ functions defined to allow for "catching" assertions and comparing the assert message, and to pass/fail accordingly and to pass/fail based on some predicate. The REQUIRE vs. CHECK versions are much the same as BOOST test framework, as in the REQUIRE variant will kill the test immediately and CHECK will fail the test as a whole but allow for sub checks to evaluate.

larryk85 added some commits Nov 10, 2018

@larryk85 larryk85 referenced this pull request Dec 12, 2018


cdt tester and more #318


This comment has been minimized.

Copy link
Collaborator Author

larryk85 commented Dec 12, 2018

Superceded by PR #318

@larryk85 larryk85 closed this Dec 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment