Commented intermittent debugging code
This commit is contained in:
parent
50ad0a7656
commit
7d5c478bcb
4
build.sh
4
build.sh
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Script handling unity builds and options.
|
# Script handling unity builds and options.
|
||||||
|
|
||||||
DIR=$(dirname $(readlink -f "$0"))
|
DIR=$(dirname $(readlink -f "$0"))
|
||||||
@ -26,5 +26,5 @@ fi
|
|||||||
[ ! -z ${SAN} ] && CFLAGS=`echo "$CFLAGS -fsanitize=$SAN"`
|
[ ! -z ${SAN} ] && CFLAGS=`echo "$CFLAGS -fsanitize=$SAN"`
|
||||||
|
|
||||||
echo "$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS"
|
echo "$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS"
|
||||||
$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS
|
time $CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS
|
||||||
echo -e "\nStatus: $?"
|
echo -e "\nStatus: $?"
|
||||||
|
@ -164,8 +164,8 @@ parse_pair(char const * buf, size_t len)
|
|||||||
/* X macro for handling this data may be better */
|
/* X macro for handling this data may be better */
|
||||||
if (strncmp(buf, cred_names[f], cred_names_len[f]) == 0)
|
if (strncmp(buf, cred_names[f], cred_names_len[f]) == 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "f%ld:len%ld:%s\n", f, cred_names_len[f],
|
/* fprintf(stderr, "f%ld:len%ld:%s\n", f, cred_names_len[f], */
|
||||||
cred_names[f]); fflush(stderr);
|
/* cred_names[f]); fflush(stderr); */
|
||||||
buf += i;
|
buf += i;
|
||||||
while (buf[x] != '\0')
|
while (buf[x] != '\0')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user