File tree 2 files changed +6
-13
lines changed
2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,5 @@ ACLOCAL_AMFLAGS = -I config
10
10
# `make dist` and `make test` for simple test binaries that do not require any
11
11
# special environment.
12
12
# TESTS = testing/basic-tests.sh
13
- # DISTCLEANFILES = -r test test_out
13
+
14
+ DISTCLEANFILES = ./src/build.conf
Original file line number Diff line number Diff line change 1
1
#include <assert.h>
2
2
3
- #include < ior.h>
4
- #include < ior-internal.h>
3
+ #include "../ ior.h"
4
+ #include "../ ior-internal.h"
5
5
6
+ // Run all tests via:
7
+ // make distcheck
6
8
// build a single test via, e.g., mpicc example.c -I ../src/ ../src/libaiori.a -lm
7
9
8
10
int main (){
@@ -16,16 +18,6 @@ int main(){
16
18
// having an individual file
17
19
test .filePerProc = 1 ;
18
20
19
- IOR_offset_t * offsets ;
20
- offsets = GetOffsetArraySequential (& test , 0 );
21
- assert (offsets [0 ] == 0 );
22
- assert (offsets [1 ] == 10 );
23
- assert (offsets [2 ] == 20 );
24
- assert (offsets [3 ] == 30 );
25
- assert (offsets [4 ] == 40 );
26
- // for(int i = 0; i < test.segmentCount; i++){
27
- // printf("%lld\n", (long long int) offsets[i]);
28
- // }
29
21
printf ("OK\n" );
30
22
return 0 ;
31
23
}
You can’t perform that action at this time.
0 commit comments