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

Adding in compilation tests to ensure all perl modules compile #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ialarmedalien
Copy link
Contributor

A few changes:

  • specifying versions of CPAN modules in the cpanfile, adding modules for new tests and removing unused distributions;
  • adding in compilation test for all perl scripts and packages
  • small cosmetic changes to template script
  • remove orphaned packages KBase::ObjectAPI::KBaseFBA::BooleanGeneExpressionData and KBase::ObjectAPI::KBaseFBA::BooleanGeneExpressionDataCollection
  • remove old_tests.pl and old_fba_tools_checks.pl; they do not compile and can be retrieved from GitHub if they are wanted.

@ialarmedalien ialarmedalien force-pushed the compile_tests branch 3 times, most recently from 46bf05b to 6922e62 Compare February 26, 2020 23:26
…ing old modules and scripts that do not compile
@@ -54,11 +54,12 @@ build-test-script:
echo 'script_dir=$$(dirname "$$(readlink -f "$$0")")' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
echo 'export KB_DEPLOYMENT_CONFIG=$$script_dir/../deploy.cfg' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
echo 'export KB_AUTH_TOKEN=`cat /kb/module/work/token`' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
echo 'export PERL5LIB=$$script_dir/../$(LIB_DIR):$$PATH:$$PERL5LIB' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
echo 'export PERL5LIB=$$script_dir/../$(LIB_DIR):$$PERL5LIB' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$PATH contains the paths of various executables, but no paths to perl libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant