mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
+
This commit is contained in:
parent
cb2132ef93
commit
47e7af7354
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ all: $(TARGETS)
|
||||||
./testRender
|
./testRender
|
||||||
./testMatch
|
./testMatch
|
||||||
./isRoutingVar
|
./isRoutingVar
|
||||||
|
./getVarType
|
||||||
|
|
||||||
test: $(TARGETS)
|
test: $(TARGETS)
|
||||||
for f in packets/full-* packets/error-*; do echo ">> $$f"; ./testParser $$f; done
|
for f in packets/full-* packets/error-*; do echo ">> $$f"; ./testParser $$f; done
|
||||||
|
|
|
@ -32,7 +32,7 @@ int testPresence(const char *avail, int availlen, const char *desc, int desclen,
|
||||||
psyc_render(&packet, buffer, sizeof(buffer));
|
psyc_render(&packet, buffer, sizeof(buffer));
|
||||||
if (verbose)
|
if (verbose)
|
||||||
write(0, buffer, packet.length);
|
write(0, buffer, packet.length);
|
||||||
return strncmp(rendered, buffer, packet.
|
return strncmp(rendered, buffer, packet.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
int testList(const char *rendered, uint8_t verbose)
|
int testList(const char *rendered, uint8_t verbose)
|
||||||
|
|
Loading…
Reference in a new issue