-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
40 lines (30 loc) · 786 Bytes
/
makefile
File metadata and controls
40 lines (30 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
install:
cd bin/utils; make install
RUNDIR = run
distclean:
cd bin/utils; make distclean
rm -rf run* *.diff *~
rundir:
mkdir ${RUNDIR}
cd ${RUNDIR}; ln -s ../bin/*.py .; mkdir results
TESTDIR = run_test
test:
@rm -f *.diff
-@make test_los
test_los:
@echo "test_los_rundir..." > test_los.diff
make test_los_rundir
@echo "test_los_run..." >> test_los.diff
make test_los_run
@echo "test_los_check..." >> test_los.diff
make test_los_check
test_los_rundir:
rm -rf ${TESTDIR}
make rundir RUNDIR=${TESTDIR}
test_los_run:
cd ${TESTDIR}; python pyLOS_vectorized.py > runlog
test_los_check:
gunzip -c output/result_0.txt.gz > ${TESTDIR}/results/result_0.ref
diff ${TESTDIR}/results/result_0.txt ${TESTDIR}/results/result_0.ref \
> test_los.diff
ls -l test_los.diff