/*
- * Copyright (c) 2009, 2010, 2011 Nicira, Inc.
+ * Copyright (c) 2009, 2010, 2011, 2014 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include "random.h"
#include "unaligned.h"
#include "util.h"
+#include "ovstest.h"
#undef NDEBUG
#include <assert.h>
mark('#');
}
-int
-main(void)
+
+static void
+test_csum_main(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
{
const struct test_case *tc;
int i;
mark('#');
putchar('\n');
-
- return 0;
}
+
+OVSTEST_REGISTER("test-csum", test_csum_main);