Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
69 lines (58 loc) · 1.87 KB
/
Copy pathMakefile
File metadata and controls
69 lines (58 loc) · 1.87 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/make -f
# This software was developed at the National Institute of Standards
# and Technology in whole or in part by employees of the Federal
# Government in the course of their official duties. Pursuant to
# title 17 Section 105 of the United States Code portions of this
# software authored by NIST employees are not subject to copyright
# protection and are in the public domain. For portions not authored
# by NIST employees, NIST has been granted unlimited rights. NIST
# assumes no responsibility whatsoever for its use by other parties,
# and makes no guarantees, expressed or implied, about its quality,
# reliability, or any other characteristic.
#
# We would appreciate acknowledgement if the software is used.
all: \
check
.PHONY: \
check-cat_fileobjects \
check-dfxml_tool \
check-idifference-dfxml \
check-mac_timelines \
check-Objects \
clean-Objects
# Export the directories to use
check: export DEMO_DIR = demos
check: export TEST_DIR = tests
check: \
check-cat_fileobjects \
check-dfxml_tool \
check-idifference-dfxml \
check-mac_timelines \
check-Objects
@echo ""
@echo "Tests passed!"
@echo "Clean up the test results with 'make clean'."
doc: \
Objects.html
Objects.html: \
Objects.py
python3 -m pydoc -w Objects
check-cat_fileobjects:
$(TEST_DIR)/test_cat_fileobjects.sh
check-dfxml_tool:
$(TEST_DIR)/test_dfxml_tool.sh
check-idifference-dfxml:
$(TEST_DIR)/test_idifference_to_dfxml.sh
# TODO: Investigate cause of state transition exception
#
# Skip this temporarily, since there is an unexpected state
# transition exception thrown by line 4840 in python/dxml/object.py,
# when the file samples/simple.xml is processed
#check-mac_timelines:
# ./tests/test_mac_timelines.sh
clean: clean-Objects
rm -f dfxml_tool_*xml
rm -f cat_test_*.dfxml
rm -f idifference_test.txt
rm -f idifference_test*.dfxml
rm -f demo_mac_timeline*.txt