Skip to content

Commit 1300c19

Browse files
authored
Merge pull request #211 from RachelTucker/RachelTucker-patch-1
Add compiling and running test instructions
2 parents 2c20d04 + e3fff92 commit 1300c19

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,23 @@ To run it, first ensure that DS3_ACCESS_KEY, DS3_SECRET_KEY, DS3_ENDPOINT (and o
183183
$ make run-get-bucket # list contents of "books" bucket
184184
$ make run-get-object # get first book and write to temp file
185185

186+
Tests
187+
-----
188+
189+
The `/test` directory contains function tests of the sdk. Ensure that the environment variables DS3_ACCESS_KEY, DS3_SECRET_KEY, DS3_ENDPOINT (and optionally http:proxy) are set. To build and run the tests, use the following commands:
190+
191+
$ cd directory/containing/source/tree
192+
$ cmake .
193+
$ make
194+
$ make install
195+
$ ldconfig
196+
197+
$ cd test
198+
$ cmake .
199+
$ make
200+
$ make test
201+
202+
186203
Documentation
187204
-------------
188205
For the list of API calls in the C SDK please see the documentation [here](http://spectralogic.github.io/ds3_c_sdk/index.html)

0 commit comments

Comments
 (0)