48e27400d23e2586530cf943524e50c74d79a915Tony Bamford/**
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * The contents of this file are subject to the terms of the Common Development and
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * Distribution License (the License). You may not use this file except in compliance with the
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * License.
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford *
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * specific language governing permission and limitations under the License.
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford *
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * When distributing Covered Software, include this CDDL Header Notice in each file and include
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * Header, with the fields enclosed by brackets [] replaced by your own identifying
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * information: "Portions copyright [year] [name of copyright owner]".
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford *
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * Copyright 2015 ForgeRock AS.
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford */
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacs/**
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacs * THIS FILE INCLUDES AUTOMATICALLY GENERATED CONTENT FROM "tests.h".
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacs * DO NOT EDIT "test_MAIN.c" AND "tests.h" FILES.
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacs */
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford#include <stdio.h>
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacs#include <stdarg.h>
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford#include <setjmp.h>
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacs#include "cmocka.h"
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacs#include "tests.h"
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford/**
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * The main framework for calling the cmocka tests. The exit status reflects the success or failure of
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford * the tests.
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford */
4c6011bfcf29cd75d6af86f192d709221f4d5d3aMareks Malnacsint main(int argc, char **argv) {
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford return cmocka_run_group_tests(tests, NULL, NULL);
48e27400d23e2586530cf943524e50c74d79a915Tony Bamford}