How can we run unit-test (especially gtest) for euphony? #158
Answered
by
DahyeonWoo
happy-refactoring
asked this question in
Q&A
-
Hi! I finally succeeded in building euphony!
Below is the euphony build result. > Task :cleanCache
Clear gradle cache.
> Task :euphony:preBuild
> Task :euphony:preDebugBuild
> Task :euphony:compileDebugAidl NO-SOURCE
> Task :euphony:generateJsonModelDebug
> Task :euphony:externalNativeBuildDebug
Build multiple targets testEuphony_armeabi-v7a euphony_armeabi-v7a native-legacy_armeabi-v7a
ninja: Entering directory `C:\Users\desig\AndroidStudioProjects\euphony\euphony\.cxx\cmake\debug\armeabi-v7a'
Build multiple targets testEuphony_arm64-v8a euphony_arm64-v8a native-legacy_arm64-v8a
ninja: Entering directory `C:\Users\desig\AndroidStudioProjects\euphony\euphony\.cxx\cmake\debug\arm64-v8a'
Build multiple targets testEuphony_x86 native-legacy_x86 euphony_x86
ninja: Entering directory `C:\Users\desig\AndroidStudioProjects\euphony\euphony\.cxx\cmake\debug\x86'
Build multiple targets euphony_x86_64 testEuphony_x86_64 native-legacy_x86_64
ninja: Entering directory `C:\Users\desig\AndroidStudioProjects\euphony\euphony\.cxx\cmake\debug\x86_64'
> Task :euphony:mergeDebugJniLibFolders
> Task :euphony:compileDebugRenderscript NO-SOURCE
> Task :euphony:generateDebugBuildConfig
> Task :euphony:generateDebugResValues
> Task :euphony:generateDebugResources
> Task :euphony:packageDebugResources
> Task :euphony:javaPreCompileDebug
> Task :euphony:parseDebugLocalResources
> Task :euphony:mergeDebugShaders
> Task :euphony:compileDebugShaders NO-SOURCE
> Task :euphony:generateDebugAssets UP-TO-DATE
> Task :euphony:packageDebugAssets
> Task :euphony:packageDebugRenderscript NO-SOURCE
> Task :euphony:prepareLintJarForPublish
> Task :euphony:processDebugJavaRes NO-SOURCE
> Task :euphony:writeDebugAarMetadata
> Task :euphony:processDebugManifest
> Task :euphony:mergeDebugNativeLibs
> Task :euphony:mergeDebugJavaResource
> Task :euphony:generateDebugRFile
> Task :euphony:stripDebugDebugSymbols
> Task :euphony:copyDebugJniLibsProjectAndLocalJars
> Task :euphony:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :euphony:extractDebugAnnotations
> Task :euphony:mergeDebugGeneratedProguardFiles
> Task :euphony:mergeDebugConsumerProguardFiles
> Task :euphony:syncDebugLibJars
> Task :euphony:bundleDebugAar
> Task :euphony:compileDebugSources
> Task :euphony:assembleDebug
The build was successful, not verified by unit tests. For unit testing, connect a virtual device or Android device to adb.
BUILD SUCCESSFUL in 7m 11s
25 actionable tasks: 25 executed
Build Analyzer results available
If anyone knows, please let me know! |
Beta Was this translation helpful? Give feedback.
Answered by
DahyeonWoo
Jul 24, 2022
Replies: 2 comments 1 reply
-
I think that gtest is executed in Visual Studio with Build Systems. (CMake, Bazel..) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
happy-refactoring
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that gtest is executed in Visual Studio with Build Systems. (CMake, Bazel..)
For unit testing, connect a virtual device or Android device to adb.