Cdroid/src/test4ext
2021-06-24 10:12:55 +08:00
..
gtest CDROID's First commit 2021-06-24 10:12:55 +08:00
build.sh CDROID's First commit 2021-06-24 10:12:55 +08:00
CMakeLists.txt CDROID's First commit 2021-06-24 10:12:55 +08:00
main.cc CDROID's First commit 2021-06-24 10:12:55 +08:00
README.txt CDROID's First commit 2021-06-24 10:12:55 +08:00
toolchain.cmake CDROID's First commit 2021-06-24 10:12:55 +08:00
ziptest.sh CDROID's First commit 2021-06-24 10:12:55 +08:00

1.environment
   1.1 modify toolchain.cmake to set corrent toolchain params
   1.2 modify build.sh and set NGL_CHIPSET to correct porting(chipset)

2.build testing
  2.1. run  build.sh  /*build makefile*/
  2.2. cd out
  2.3. make hal_tests //gtest's testcase for porting api
  2.4. make 3rdtest  //main.cc for your own test entry
  notice:gx3213 cant make hal to so,so default make will failed.

3. how to use gtest 
  3.1 --gtest_list_tests  //show all testcase
  3.2 --gtest_filter=OSEVENT* //run all testcase in event_unittests.cc
  3.3 --gtest_filter=DMX.xxx  //run xxx case in dmx_unittests.cc