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

can't run railties tests #8386

Closed
rosenfeld opened this issue Nov 30, 2012 · 15 comments
Closed

can't run railties tests #8386

rosenfeld opened this issue Nov 30, 2012 · 15 comments

Comments

@rosenfeld
Copy link
Contributor

https://gist.github.com/4177818

@steveklabnik
Copy link
Member

ruby-1.9.3-p327-regular means you're not running with the Falcon patches, right?

1 similar comment
@steveklabnik
Copy link
Member

ruby-1.9.3-p327-regular means you're not running with the Falcon patches, right?

@rosenfeld
Copy link
Contributor Author

yes

1 similar comment
@rosenfeld
Copy link
Contributor Author

yes

@rosenfeld
Copy link
Contributor Author

I compiled it with no patch using RVM, but with this in my .rvmrc:

rvm_configure_env=(CFLAGS="-march=native -O3")

Want me to try without any optimization flag?

@steveklabnik
Copy link
Member

1 similar comment
@steveklabnik
Copy link
Member

@rosenfeld
Copy link
Contributor Author

Should I try with -O2?

@carlosantoniodasilva
Copy link
Member

Not sure what it might be @rosenfeld, I just tried running the same file here:

$ be ruby -Itest test/application/rake_test.rb 
Run options: --seed 43279

# Running tests:

....................

Finished tests in 70.712649s, 0.2828 tests/s, 0.0000 assertions/s.

20 tests, 0 assertions, 0 failures, 0 errors, 0 skips

And travis has just run the entire suite, all green in 1.9.3.

@rosenfeld
Copy link
Contributor Author

I'll try with no optimization flags then

1 similar comment
@rosenfeld
Copy link
Contributor Author

I'll try with no optimization flags then

@rosenfeld
Copy link
Contributor Author

I removed all optimizations, reinstalled (recompiled 1.9.3) with no patches and still I get the same errors :(

@rafaelfranca
Copy link
Member

@rosenfeld do you have anything in your ~/.railsrc?

@rosenfeld
Copy link
Contributor Author

Yes: -T -O --skip-bundle. @rafaelfranca "você é o cara!" Tests seem to be passing now! Great guess!

@rafaelfranca
Copy link
Member

Thank you to confirm.

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

No branches or pull requests

4 participants