testlib: Don't count skipped tests as failures
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index d3d09fb..636c653 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11820
+#define LIBUSB_NANO 11821
diff --git a/tests/testlib.c b/tests/testlib.c
index 3825341..73d9f37 100644
--- a/tests/testlib.c
+++ b/tests/testlib.c
@@ -180,5 +180,5 @@
 	libusb_testlib_logf("Error in %d tests", error_count);
 	libusb_testlib_logf("Skipped %d tests", skip_count);
 
-	return pass_count != run_count;
+	return fail_count + error_count;
 }