]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Wed, 4 Oct 2000 12:28:09 +0000 (12:28 +0000)
committerhades <hades>
Wed, 4 Oct 2000 12:28:09 +0000 (12:28 +0000)
allParam/test/Makefile
allParam/test/test2.c
allParam/test/test4.c
allParam/test/test6.c
allParam/test/test8.c

index f2753e3879c3c80f7a14bf0a93c044496a77d761..5c9f2b575c5ba8f9553b803d2c6242cc8a54dad1 100644 (file)
@@ -2,7 +2,6 @@ TIME = time
 MV = ./mv.sh
 
 # Channel Access test
-HOST_ARCH = Linux
 EPICS_BASE = $(EPICS_HOME)/base
 CACFLAGS = -g -ansi -Wall -I../ca
 LOADCALIBES = -L../ca -L$(EPICS_BASE)/lib/$(HOST_ARCH) -lcaParam -lca -lCom
index 92a76bc4c5a2aea84af2135e13d02e5add307b7d..af3b82f88071af07403f7c3d36412c63d964cb4d 100644 (file)
@@ -20,7 +20,7 @@ int test2(const char *testid, const Param *param) {
                myRetVal = 0;
                printf("%s : Passed.\n", testid);
        } else {
-               printf("%s : Failed. Rows: %d, result: \'%d\', return Value: %d.\n", testid, rows, result, retVal);
+               printf("%s : Failed. Rows: %d, result: \'%ld\', return Value: %d.\n", testid, rows, result, retVal);
                printf("%s : Error string: %s\n", testid, Param_getErrStr(param));
                myRetVal = -1;
        }
index fb5a68c7481d8e19201d1b958b8c017f304aa519..f97a0f4bb1e9faf42586395f976c0fd0e11be352 100644 (file)
@@ -27,7 +27,7 @@ int test4(const char *testid, const Param *param) {
        } else {
                printf("%s : Failed. Rows: %d, result array:\n", testid, rows);
                for(i = 0 ; i < NUM2 ; i++) {
-                       printf("result[%d]: %d.\n", i, result[i]);
+                       printf("result[%d]: %ld.\n", i, result[i]);
                }
                printf("return Value: %d.\n", retVal);
                printf("%s : Error string: %s\n", testid, Param_getErrStr(param));
index 4a6414f6a351eddcc7f5824cef901d96072540ab..99cb60e9f0e615b2a8cfe85c7f9387f7ed7dbebc 100644 (file)
@@ -20,7 +20,7 @@ int test6(const char *testid, const Param *param) {
                myRetVal = 0;
                printf("%s : Passed.\n", testid);
        } else {
-               printf("%s : Failed. Rows: %d, result: \'%d\', return Value: %d.\n", testid, rows, result, retVal);
+               printf("%s : Failed. Rows: %d, result: \'%ld\', return Value: %d.\n", testid, rows, result, retVal);
                printf("%s : Error string: %s\n", testid, Param_getErrStr(param));
                myRetVal = -1;
        }
index ded35e6d5fa8f7e400e127f6686091aa15a1f9b0..7cb83a1a7c84ed6de57eeb533c9c4becaac3f8e4 100644 (file)
@@ -27,7 +27,7 @@ int test8(const char *testid, const Param *param) {
        } else {
                printf("%s : Failed. Rows: %d, result array:\n", testid, rows);
                for(i = 0 ; i < NUM2 ; i++) {
-                       printf("result[%d]: %d.\n", i, result[i]);
+                       printf("result[%d]: %ld.\n", i, result[i]);
                }
                printf("return Value: %d.\n", retVal);
                printf("%s : Error string: %s\n", testid, Param_getErrStr(param));