Closed GoogleCodeExporter closed 9 years ago
Current workaround is to build with:
gradlew -x test build
Original comment by jesusfreke@jesusfreke.com
on 25 Sep 2012 at 1:04
I need someone who is encountering this issue to download the
smali_newline_test branch, try to run a build, and report back with the results
(including the test log file).
git clone https://code.google.com/p/smali/
cd smali
git checkout smali_newline_test
gradlew.bat build
Original comment by jesusfreke@jesusfreke.com
on 25 Sep 2012 at 1:07
LexerTest > TypeAndIdentifierTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > ByteLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > MiscTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > CommentTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > SymbolTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > DirectiveTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > ShortLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > IntegerLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > LongLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > FloatLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > CharLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > StringLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > InstructionTest FAILED
java.lang.AssertionError at LexerTest.java:158
LexerTest > RealSmaliFileTest FAILED
java.lang.AssertionError at LexerTest.java:158
67 tests completed, 14 failed
:smali:test FAILED
FAILURE: Build failed with an exception.
Original comment by yyjdel...@gmail.com
on 25 Sep 2012 at 3:34
Great, thanks.
Original comment by jesusfreke@jesusfreke.com
on 25 Sep 2012 at 3:38
TEST-LexerTest.xml
http://pastebin.com/i8YgqEYM
Original comment by yyjdel...@gmail.com
on 25 Sep 2012 at 3:39
Pull down the latest code, and try the build again (for the smali_newline_test
branch). If that works, I'll merge the change into master.
Original comment by jesusfreke@jesusfreke.com
on 25 Sep 2012 at 3:47
Yes, it works.BUILD SUCCESSFUL
Original comment by yyjdel...@gmail.com
on 25 Sep 2012 at 3:54
Ok, fix committed to master.
Original comment by jesusfreke@jesusfreke.com
on 25 Sep 2012 at 4:07
It's strange that the master branch is failed again.
LexerTest > CharLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:207
LexerTest > StringLiteralTest FAILED
java.lang.AssertionError at LexerTest.java:207
LexerTest > SymbolTest FAILED
java.lang.AssertionError at LexerTest.java:207
=======================================================
Add some DBG output, and it looks like the below:
expectedToken.tokenText="\x0a", expectedTokenText="\x0d\x0a",
token.getText()="\x0a"
Original comment by yyjdel...@gmail.com
on 25 Sep 2012 at 5:38
Original issue reported on code.google.com by
jesusfreke@jesusfreke.com
on 25 Sep 2012 at 1:04