Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b58498fb
Kaydet (Commit)
b58498fb
authored
May 17, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Now with in-process redirection, the adb shell setprop thing is not needed
Change-Id: Ibfda0e6e65d0834cffdd95d4c6d87d07644088f6
üst
fdec471a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
20 deletions
+14
-20
README.Android
README.Android
+8
-8
README.cross
README.cross
+6
-8
Makefile
android/qa/sc/Makefile
+0
-4
No files found.
README.Android
Dosyayı görüntüle @
b58498fb
...
...
@@ -9,9 +9,6 @@ and AVD that doesn't work. Instead start it from the console:
emulator-arm -avd <Name> -partition-size 500
Where <Name> is the literal name of the AVD that you entered.
Then it is necessary to get stdout/err to go to somewhere we can find it:
adb shell stop; adb shell setprop log.redirect-stdio true; adb shell start
Then:
...
...
@@ -20,12 +17,15 @@ Then it is necessary to get stdout/err to go to somewhere we can find it:
make clean all install
make run ; adb shell logcat
And if all goes well - you should have some nice unit
test output to enjoy. After a while of this loop you'll probably
find that android has lost a lot of space on your device at
this point:
And if all goes well - you should have some nice unit test output to
enjoy. After a while of this loop you might find that you have lost a lot of
space on your emulator's or device's /data volume. If using the emulator, you
can do:
adb shell stop; adb shell start
adb shell stop; adb shell setprop log.redirect-stdio true; adb shell start
but on a (non-rooted) device you probably just need to reboot it. On the other
hand, this phenomenon might not happen on actual devices.
and continue onwards & upwards.
...
...
README.cross
Dosyayı görüntüle @
b58498fb
...
...
@@ -395,14 +395,12 @@ mechanism.
Then to run the unit test, do "make install" followed by "make
run". You most likely want to have an "adb logcat" running in another
window, and you probably also want to have set the stdout and stderr
of app processes to be redirected to logcat ("adb shell stop; adb
shell setprop log.redirect-stdio true; adb shell start").
To debug, do manually what "make run" would do, adding args "-e
lo-main-delay 20" to the command line, and when the app has started,
run ndk-gdb. Unfortunately the gdb in NDK r7 is broken, use the one in
the NDK build with newer versions of gcc and gdb from
window.
To debug, do manually what "make run" would do, adding args "-e lo-main-delay
20" to the command line, and when the app has started, run
ndk-gdb. Unfortunately the gdb in NDK r7 and r8 is a bit broken, you can use
the one in a NDK build with newer versions of gcc and gdb from
http://code.google.com/p/mingw-and-ndk/ instead.
Running strace on the unit test in progress is often useful to find
...
...
android/qa/sc/Makefile
Dosyayı görüntüle @
b58498fb
...
...
@@ -191,10 +191,6 @@ run: run_ucalc run_filters_test
stop-start-cycle
:
$(ANDROID_SDK_HOME)
/platform-tools/adb shell stop
&&
$(ANDROID_SDK_HOME)
/platform-tools/adb shell start
&&
sleep
10
# Too hard to remember this stuff;)
redirect-stdio
:
$(ANDROID_SDK_HOME)
/platform-tools/adb shell stop
&&
$(ANDROID_SDK_HOME)
/platform-tools/adb shell setprop log.redirect-stdio
true
&&
$(ANDROID_SDK_HOME)
/platform-tools/adb shell start
clean
:
properties
$(ANT)
clean
rm
-rf
assets
$(SODEST)
$(OBJLOCAL)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment