]> Nishi Git Mirror - gwion.git/commitdiff
:bug: TRUE SEVERITY
authorfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 15 Mar 2019 00:56:43 +0000 (01:56 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 15 Mar 2019 00:56:43 +0000 (01:56 +0100)
.travis.yml
help/test.sh
src/plug.c

index 4434a99bdea429aab1246c72163eb9ad327b394b..d5155c48c6a4d80f2de5bd13315a1521037c75bf 100644 (file)
@@ -51,7 +51,7 @@ install:
       export BUILD_ON_WINDOWS=1;
       printf "\033[31m%s033[0m\n" $(which valgrind);
       git clone https://github.com/dlfcn-win32/dlfcn-win32 && cd dlfcn-win32 && ./configure && make.exe && cd ..;
-      export VALGRIND=;
+      export VALGRIND="NO_VALGRIND";
       export SEVERITY=2;
       export CFLAGS="$CFLAGS -Idlfcn-win32";
       export LDFLAGS="$LDLAGS -Ldlfcn-win32 -lpsapi dlfcn-win32/libdl.a";
index c0375a8a8b7da155b7cdf6643a17df8f54478f70..aab1648fbff4903820e1b0eeb61f1515bce76039 100644 (file)
@@ -177,7 +177,7 @@ test_gw(){
   elog=${GWION_TEST_DIR}/${GWION_TEST_PREFIX}$(printf "%04i" "$n").err.log
   vlog=${GWION_TEST_DIR}/${GWION_TEST_PREFIX}$(printf "%04i" "$n").valgrind.log
   rlog=${GWION_TEST_DIR}/${GWION_TEST_PREFIX}$(printf "%04i" "$n").log
-  if [ -z "$VALGRIND" ]
+  if [ "$VALGRIND" == "NO_VALGRIND" ]
   then ./gwion "$GWOPT" -d "$DRIVER" "$file" > "$slog" 2>"$elog" |:
   else
     "$VALGRIND" --log-file="$vlog" \
index 3ebfbfa8a6c93cd2db645287ebacc44c25a01186..bd22e0e25dc9018057311d0ecb6dc1375602030a 100644 (file)
@@ -79,8 +79,8 @@ ANN PlugInfo* new_plug(const Vector list) {
   HANDLE file = FindFirstFileA(gname,&filedata);
   if(file == INVALID_HANDLE_VALUE)
     continue;
-  do plug_get(p, filedata.cFileName);
-  while(FindNextFile(file,&filedata) == 0);
+//  do plug_get(p, filedata.cFileName);
+//  while(FindNextFile(file,&filedata) == 0);
   FindClose(file);
 #endif
   }