-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
-c option and optimizations problem #16
Comments
So I guess this is because advanced optimisations mangle all of the names and maybe test code get's cut out because it's not called directly. Why are you running tests with advanced optimisations anyway? Just to make sure it works? I think this would require some extern files or something to stop Closure Compiler from mangling the code and deleting things that are actually required. |
Ok, thanks for the info. Yes, basically I've taken to having a build that
involves running code with the same optimization level it'll have in
production.
…On Fri, 19 Oct 2018, 13:05 Oliver Caldwell, ***@***.***> wrote:
So I guess this is because advanced optimisations mangle all of the names
and maybe test code get's cut out because it's not called directly. Why are
you running tests with advanced optimisations anyway? Just to make sure it
works?
I think this would require some extern files or something to stop Closure
Compiler from mangling the code and deleting things that are actually
required.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC7ZDHfkJGQBZip6H70cbGXKe7d1QxjAks5umcAWgaJpZM4Xt4vf>
.
|
So this should be fixed in Seems to work well for me when switching between |
Seems to still behave weirdly for |
Thanks.
Whitespace aside, the project I was trying it out on has some issues I've
got to fix first (relating to the external lib)... once that's sorted out
I'll give this a go.
…On Tue, Oct 23, 2018 at 9:11 AM Oliver Caldwell ***@***.***> wrote:
Seems to still behave weirdly for :whitespace and maybe things like
foreign libs are a bit messed up. It's better but maybe not fixed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC7ZDNPZejZR751WqG4R1Xak-MST1aKTks5uns8-gaJpZM4Xt4vf>
.
--
@henryw374
|
Hey, I'll leave the issue for you to close in case you're addressing Thanks |
I might take another look soon, but if I can't work it out I might just mark it as a known issue. I'm really confused by it, I can understand "no optimisations" and "optimisations" behaving differently. But I would expect once any level of optimisations works, especially advanced, all of the rest will work fine too. |
It looks like #31 has it working fine for |
Hi, when using the -c option. and when the opts file passed to that contains e.g.
:optimizations :advanced
or whitespace, or simple, no tests are run. Setting it to :none does work though.Any ideas?
Thanks,
Henry
The text was updated successfully, but these errors were encountered: