Updated Native Tests.md

This commit is contained in:
Zach Folwick 2015-10-16 22:55:43 +00:00
parent f5390e9405
commit db36a4c191

View File

@ -1 +1,9 @@
# Native Code Testing Guide
# Native Code Testing Guide
"Native" tests are tests which validate the native C/C++ function calls into the system library. To run ONLY the native tests, it is assumed that you have completed the process in the README.md, and have run `source monad-docker.sh`.
From the scripts directory, run `monad-run make -j native-tests`. This will output an xml file to your scripts directory.
# Creating new tests
monad-linux/src/monad-native/src/tests is the test folder containing all the .cpp files. you will need to `#include <gtest/gtest.h>` and follow gtest guidelines for creating your test suite.