[runtime] Make nunitlite return failure exit code when tests fail
-Subproject commit 7065bc89e8661cad447140752c0fce118644e06e
+Subproject commit e4c2696aa3f6d67b065ae491b27217dcfe503732
// Example usage: -exclude:category1,category2 this command can be used
// in combination with the -include option also note that exclude takes priority
// over all includes
- public static void Main(string[] args)
+ public static int Main(string[] args)
{
- new TextUI().Execute(args);
+ var runner = new TextUI();
+ runner.Execute(args);
+
+ return (runner.success ? 0 : 1);
}
}
}