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

Remove EXIV2_EXT from code-base #1273

Closed
clanmills opened this issue Sep 4, 2020 · 11 comments
Closed

Remove EXIV2_EXT from code-base #1273

clanmills opened this issue Sep 4, 2020 · 11 comments
Assignees
Labels
testing Anything related to the tests and their infrastructure
Milestone

Comments

@clanmills
Copy link
Collaborator

See #1269 (comment)

This environment string has caused difficulties on #1257 and should be removed from the code AND documentation.

I intend to invite @LeoHsiao1 to work on this.

@clanmills clanmills added the request feature request or any other kind of wish label Sep 4, 2020
@clanmills clanmills added this to the v0.27.4 milestone Sep 4, 2020
@clanmills clanmills self-assigned this Sep 4, 2020
@kmilos
Copy link
Collaborator

kmilos commented Sep 4, 2020

Thanks @clanmills, happy to help w/ testing this on msys2/mingw64

@LeoHsiao1
Copy link
Contributor

Ok, I will try to remove EXIV2_EXT completely from the exiv2/tests directory.

@clanmills
Copy link
Collaborator Author

@LeoHsiao1. Please keep focus and get #1257 finished and merged. Removing EXIV2_EXT from system_tests is a different issue.

I've asked GitHub to invite you to join Team Exiv2 as this will make it easier for me to assign issues for your attention. Because you have write access, you can re-assign issues to me if you don't want to deal with something assigned to you!

@clanmills clanmills assigned LeoHsiao1 and unassigned clanmills Sep 4, 2020
@LeoHsiao1
Copy link
Contributor

Are you asking me to ignore #1273 until #1257 is done?
Then directly submit #1273 to the Maintainer branch?

@LeoHsiao1
Copy link
Contributor

I believe #1257 will be completed quickly if there are no new problems

@clanmills
Copy link
Collaborator Author

I also think we are almost 100% done on #1257. I think we only need to remove one line of code from tests/system_tests.py. That's it.

565 rmills@rmillsmbp:~/gnu/github/exiv2/leo/tests $ grep BT *.py
system_tests.py:from bash_tests import utils as BT
system_tests.py:    BT.Config.bin_dir       = os.path.abspath(config['ENV']['exiv2_path'])
system_tests.py:    BT.Config.data_dir      = os.path.abspath(config['paths']['data_path'])
system_tests.py:    BT.Config.tmp_dir       = os.path.abspath(config['paths']['tmp_path'])
system_tests.py:    BT.Config.exiv2_ext     = config['ENV']['binary_extension']   # <---- Remove this!
system_tests.py:    BT.Config.exiv2_http    = config['ENV']['exiv2_http']
system_tests.py:    BT.Config.exiv2_port    = int(config['ENV']['exiv2_port'])
566 rmills@rmillsmbp:~/gnu/github/exiv2/leo/tests $ 

I would like to see the bash wrappers for $ make unit_test and $ make version_test removed. However, that can go into a future PR.

Keep the 'rocknroll' magic. I have no idea what it does. However it's not causing me any trouble. Keep it! Should it go into execute()?

@clanmills
Copy link
Collaborator Author

Always submit into 0.27-maintenance.

I don't know if anybody is working on 'master' any more. Nothing much has been done since January.

@clanmills
Copy link
Collaborator Author

And yes, don't bother with #1273 until #1257 is merged.

@clanmills clanmills added testing Anything related to the tests and their infrastructure and removed request feature request or any other kind of wish labels Sep 4, 2020
@clanmills
Copy link
Collaborator Author

I think this is finished with #1289

@piponazo
Copy link
Collaborator

Hi guys,

I would like to know if this work (the whole work about migrating bash tests to python) is being ported to master or if you had any discussion about it.

@clanmills
Copy link
Collaborator Author

clanmills commented Sep 16, 2020

We're not done yet with #1215 on 0.27-maintenance.

I would like to operate both test/*.so scripts and their python replacements tests/bash_tests/*.py for a while (perhaps two months).

Then we should "decommission" tests/*.so by updating test/makefile, test/CMakeList.txt, README.md and README-CONAN.md #1274

After that we can port them to 'master'. I hope porting will be painfree and only involve:

  1. syncing 0.27-maintenance/test into master/test
  2. syncing 0.27-maintenance/tests into master/tests/
  3. syncing 0.27-maintenance/*.md into master/

This will cause EXIV2_EXT to disappear from 'master'.

The big win here is to simplify running the test suite on Visual Studio builds. Users will have to install python3 (with the lxml module) and not require bash/make and other MinGW/msys2 utilities to be on their PATH.

The aim of #1215 is to extend the excellent tests/system_tests.py developed by Dan while making life for Visual Studio users much simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Anything related to the tests and their infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants