forked from olofk/ipyxact
-
Notifications
You must be signed in to change notification settings - Fork 1
/
selftest.sh
executable file
·14 lines (13 loc) · 752 Bytes
/
selftest.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
mkdir -p out
echo Running gen_c_header
PYTHONPATH=ipyxact python gen_c_header.py generic_example.xml > out/out.h
echo Running gen_markdown
PYTHONPATH=ipyxact python gen_markdown.py generic_example.xml > out/out.md
echo Running ipxactwriter
PYTHONPATH=ipyxact python ipxactwriter.py out/ipxactwriter.xml && xmllint --format out/ipxactwriter.xml > out/ipxactwriter2.xml
echo Running print_businterfaces
PYTHONPATH=ipyxact python print_businterfaces.py businterfaces.xml > out/bus.txt
echo Running print_filesets
PYTHONPATH=ipyxact python print_filesets.py generic_example.xml > out/files.txt
echo Running write_xml
PYTHONPATH=ipyxact python write_xml.py generic_example.xml out/new.xml > out/write_xml.txt && xmllint --format out/new.xml > out/new2.xml