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

j2objcCycleFinder as j2objcTest dependency instead of j2objcTranslate #338

Merged
merged 1 commit into from
Aug 2, 2015

Conversation

brunobowden
Copy link
Contributor

The cycle_finder tool doesn’t need to be run in order for translation
and compilation. As a tool for code correctness, it should be run as a
dependency of j2objcTest instead.

The cycle_finder tool doesn’t need to be run in order for translation
and compilation. As a tool for code correctness, it should be run as a
dependency of j2objcTest instead.
@brunobowden
Copy link
Contributor Author

@advayDev1, @confile - this will make the assemble task slightly faster.

@advayDev1
Copy link
Contributor

lgtm

@brunobowden
Copy link
Contributor Author

Tested on my main project and it works correctly.

What do you think the test ordering should be? Should we run the debug/release j2objc tests first or cycle_finder? My feeling is that whatever is more likely to fail, should be run first so that it can give useful feedback more quickly. In this case though, it should be relatively rare that either one fails... the java test have already passed and cycle_finder should change only rarely.

@advayDev1
Copy link
Contributor

i've never run cycle finder so i don't know how long it takes. i think j2objc tests should fail very rarely and unless you are in power-user land probably indicate a bug or unfinished functionality in j2objc. however, a rapidly changing program can easily introduce (legitimately) new reference loops requiring developer attention (either by waiving the loop as OK, or putting in an annotation somewhere).

so i think: cycleFinder, debug tests, release tests

@brunobowden
Copy link
Contributor Author

Committing as is then...

brunobowden added a commit that referenced this pull request Aug 2, 2015
j2objcCycleFinder as j2objcTest dependency instead of j2objcTranslate
@brunobowden brunobowden merged commit 9be0aac into j2objc-contrib:master Aug 2, 2015
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.

2 participants