]> git.saurik.com Git - apple/security.git/blob - secdtests/main.m
Security-59306.11.20.tar.gz
[apple/security.git] / secdtests / main.m
1 //
2 // main.c
3 // secdtest
4 //
5 // Created by Fabrice Gautier on 5/29/13.
6 //
7 //
8
9 #include <stdio.h>
10 #include <regressions/test/testenv.h>
11
12 #include "testlist.h"
13 #include <regressions/test/testlist_begin.h>
14 #include "testlist.h"
15 #include <regressions/test/testlist_end.h>
16
17 #include "keychain/ckks/CKKS.h"
18
19 #include <securityd/spi.h>
20
21 int main(int argc, char * const *argv)
22 {
23 // secdtests should not run any CKKS. It's not entitled for CloudKit, and CKKS threading interferes with many of the tests.
24 SecCKKSDisable();
25
26 securityd_init(NULL);
27
28 int result = tests_begin(argc, argv);
29
30 fflush(stdout);
31 fflush(stderr);
32
33 return result;
34 }