소스 검색

Bugfixes for dist make target

Now we can run tests from the tarball generated by make dist
Yann Weber 7 년 전
부모
커밋
c28fd07797

+ 3
- 4
Makefile.am 파일 보기

1
 SUBDIRS=lodel progs plugins
1
 SUBDIRS=lodel progs plugins
2
-EXTRA_DIST=doc
2
+EXTRA_DIST=doc plugins runtest install-tpl examples tests
3
 
3
 
4
 lodel2datadir=$(datadir)/lodel2
4
 lodel2datadir=$(datadir)/lodel2
5
 lodel2_localstate_DATA =
5
 lodel2_localstate_DATA =
28
 	$(python) scripts/refreshdyn.py examples/em_test.pickle $(dyncode_filename) && echo -e "\n\nCode generated in $(dyncode_filename)"
28
 	$(python) scripts/refreshdyn.py examples/em_test.pickle $(dyncode_filename) && echo -e "\n\nCode generated in $(dyncode_filename)"
29
 
29
 
30
 # run tests
30
 # run tests
31
-tests:
31
+check:
32
 	./runtest -v
32
 	./runtest -v
33
 
33
 
34
-check: tests
35
-checks: tests
34
+unittest: check
36
 
35
 
37
 #Cleaning documentation and dyncode
36
 #Cleaning documentation and dyncode
38
 clean-local: cleandoc
37
 clean-local: cleandoc

+ 1
- 1
README 파일 보기

33
 	Run unit tests :
33
 	Run unit tests :
34
 		make check
34
 		make check
35
 		#or
35
 		#or
36
-		make tests
36
+		make unittest
37
 
37
 
38
 Lodel2 instance management utilities :
38
 Lodel2 instance management utilities :
39
 	SLIM : Simple Lodel Instance Manager
39
 	SLIM : Simple Lodel Instance Manager

install/Makefile → install-tpl/Makefile 파일 보기


install/conf.d/datasources.ini → install-tpl/conf.d/datasources.ini 파일 보기


install/conf.d/dummy_plugin.ini → install-tpl/conf.d/dummy_plugin.ini 파일 보기


install/conf.d/lodel2.ini → install-tpl/conf.d/lodel2.ini 파일 보기


install/conf.d/webui_plugin.ini → install-tpl/conf.d/webui_plugin.ini 파일 보기


install/loader.py → install-tpl/loader.py 파일 보기


install/lodel_admin.py → install-tpl/lodel_admin.py 파일 보기


+ 1
- 1
runtest 파일 보기

55
 PYTHON='env python3'
55
 PYTHON='env python3'
56
 testdir=$(mktemp -d)
56
 testdir=$(mktemp -d)
57
 rmdir $testdir
57
 rmdir $testdir
58
-./progs/create_instance test_instance $testdir ./install ./examples/em_file.pickle $(dirname $0)
58
+./progs/create_instance test_instance $testdir ./install-tpl ./examples/em_file.pickle $(dirname $0)
59
 cp -R examples $testdir
59
 cp -R examples $testdir
60
 cp -R tests $testdir
60
 cp -R tests $testdir
61
 cd $testdir
61
 cd $testdir

Loading…
취소
저장