Bug 782252 - Don't return nsresult from main() (editor/); r=ehsan

This commit is contained in:
Aryeh Gregor 2012-08-07 20:17:26 +03:00
Родитель 719dcb2097
Коммит 5963cc87af
1 изменённых файлов: 8 добавлений и 9 удалений

Просмотреть файл

@ -4591,34 +4591,33 @@ main (int argc, char *argv[])
//
result = simple_test();
NS_ENSURE_SUCCESS(result, result);
NS_ENSURE_SUCCESS(result, 1);
result = aggregation_test();
NS_ENSURE_SUCCESS(result, result);
NS_ENSURE_SUCCESS(result, 1);
//
// quick_batch_test() part:
//
result = simple_batch_test();
NS_ENSURE_SUCCESS(result, result);
NS_ENSURE_SUCCESS(result, 1);
result = aggregation_batch_test();
NS_ENSURE_SUCCESS(result, result);
NS_ENSURE_SUCCESS(result, 1);
//
// stress_test() part:
//
result = simple_stress_test();
NS_ENSURE_SUCCESS(result, result);
NS_ENSURE_SUCCESS(result, 1);
result = aggregation_stress_test();
NS_ENSURE_SUCCESS(result, result);
NS_ENSURE_SUCCESS(result, 1);
result = aggregation_batch_stress_test();
NS_ENSURE_SUCCESS(result, result);
NS_ENSURE_SUCCESS(result, 1);
return NS_OK;
return 0;
}