From 36b9af69b49975324c69a24a8b520189792bb593 Mon Sep 17 00:00:00 2001 From: daugeldauge Date: Thu, 4 Sep 2014 16:06:50 +0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6881242..508680d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ CNA provides an interface for using native C-compatible shared libraries without For Windows-based systems you can try to do the same as for Linux (for building you may use [mingw32](http://www.mingw.org/) or [mingw32-w64](http://mingw-w64.sourceforge.net/)). Or you can just download [binary files](https://github.com/intersystems-ru/cna/releases). **Note: types (32-bit or 64-bit) of libcna, current Caché installation and external libraries must be equal.** -##Runnning the Tests## +##Runnning tests## If you want to check if CNA works correctly on your system you may run the unit-tests. You will need native library with test functions 'libtest'. If you build CNA by yourself, it is already in the right place. If no — it must be placed in directory `cna/tests/`. Than you should set `^UnitTestRoot` global to the right value and run the tests. @@ -32,7 +32,7 @@ If you want to check if CNA works correctly on your system you may run the unit- do ##class(%UnitTest.Manager).RunTest() ``` -##Simple Example## +##Simple example## Let's try to call `strlen` function from C standard library. In Windows it should be located in `C:\Windows\System32\msvcrt.dll`. In Linux — `/usr/lib/libc.so`. `strlen` returns the length of the string: