Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect test-suite.log from all 'make check' invocations. Closes #452 #454

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ tests/*.log
tests/*.trs
tests/.coverage.*
tests/pylint/.pylint.d
tests/test-suite.log
tests/test-suite.log*
updates.img
utils/dd/dd_extract
utils/dd/dd_list
Expand Down
14 changes: 10 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,25 @@ runglade:
glade ${GLADE_FILE}

ci: rc-release
@rm -f tests/test-suite.log.*
@mkdir -p $(USER_SITE_PACKAGES)
@cp $(abs_builddir)/tests/usercustomize.py $(USER_SITE_PACKAGES)
@sudo mkdir -p $(ROOT_SITE_PACKAGES)
@sudo cp $(abs_builddir)/tests/usercustomize.py $(ROOT_SITE_PACKAGES)
$(MAKE) -C utils/dd
$(MAKE) TMPDIR=/var/tmp COVERAGE_PROCESS_START=$(abs_builddir)/.coveragerc check
@sudo $(MAKE) TMPDIR=/var/tmp COVERAGE_PROCESS_START=$(abs_builddir)/.coveragerc \
TESTS=nosetests_root.sh check
$(MAKE) TMPDIR=/var/tmp COVERAGE_PROCESS_START=$(abs_builddir)/.coveragerc \
TEST_SUITE_LOG=test-suite.log.$$$$ check
@tail -n 1 tests/gettext_tests/*.log > tests/gettext_tests/gettext_tests.log
@sudo $(MAKE) TMPDIR=/var/tmp COVERAGE_PROCESS_START=$(abs_builddir)/.coveragerc \
TEST_SUITE_LOG=test-suite.log.$$$$ TESTS=nosetests_root.sh check
@mkdir -p repo
@mv *rpm repo
@createrepo -p repo
@sudo $(MAKE) TMPDIR=/var/tmp TESTS=install/run_install_test.sh TEST_ANACONDA_REPO=file://$(abs_builddir)/repo/ COVERAGE_PROCESS_START=$(abs_builddir)/.coveragerc check
@sudo $(MAKE) TMPDIR=/var/tmp COVERAGE_PROCESS_START=$(abs_builddir)/.coveragerc \
TEST_SUITE_LOG=test-suite.log.$$$$ TESTS=install/run_install_test.sh \
TEST_ANACONDA_REPO=file://$(abs_builddir)/repo/ check
@cat tests/test-suite.log.* > tests/test-suite.log
@rm -f tests/test-suite.log.*
@rm -f $(USER_SITE_PACKAGES)/usercustomize.py
@sudo rm -f $(ROOT_SITE_PACKAGES)/usercustomize.py
$(MAKE) coverage-report
Expand Down