Changeset 30:d92d686b4d70 in xplra for test
- Timestamp:
- 02/09/13 08:59:10 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- test
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile.am
r29 r30 6 6 endif 7 7 8 noinst_PROGRAMS=ctest basictest basicctest multigettest multigetctest multisettest 8 noinst_PROGRAMS=ctest basictest basicctest multigettest multigetctest multisettest multisetctest 9 9 10 10 ctest_SOURCES=ctest.c … … 28 28 29 29 multisettest_SOURCES=multisettest.cc 30 31 multisetctest_SOURCES=multisetctest.c 32 if TARGET_API_WIN32 33 multisetctest_LDFLAGS=-lstdc++ 34 endif -
test/multigetctest.c
r29 r30 35 35 #include <string.h> 36 36 37 #ifdef _ _windows__37 #ifdef _WIN32 38 38 #include <windows.h> 39 39 #else … … 240 240 241 241 while(1) { 242 if (xplra_multi_execute(getterID)<0) return -1;242 if (xplra_multi_execute(getterID)<0) goto error; 243 243 printf("tail number: '%s', days: %d, zuluSec: %f\n", 244 244 tailnum, *days, *zuluSec); … … 265 265 busVolts[0], busVolts[1], busVolts[2], busVolts[3]); 266 266 printf("\n"); 267 #ifdef _ _windows__267 #ifdef _WIN32 268 268 Sleep(1000); 269 269 #else
Note:
See TracChangeset
for help on using the changeset viewer.