• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright (c) 2017 The Khronos Group Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //    http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 #include "harness/compat.h"
17 
18 #include <stdio.h>
19 #include <string.h>
20 #include "procs.h"
21 #include "harness/testHarness.h"
22 
23 #if !defined(_WIN32)
24 #include <unistd.h>
25 #endif
26 
27 test_definition test_list[] = {
28     ADD_TEST( vec_align_array ),
29     ADD_TEST( vec_align_struct ),
30     ADD_TEST( vec_align_packed_struct ),
31     ADD_TEST( vec_align_struct_arr ),
32     ADD_TEST( vec_align_packed_struct_arr ),
33 };
34 
35 const int test_num = ARRAY_SIZE( test_list );
36 
main(int argc,const char * argv[])37 int main(int argc, const char *argv[])
38 {
39     return runTestHarness( argc, argv, test_num, test_list, false, false, 0 );
40 }
41 
42