summaryrefslogblamecommitdiff
path: root/src/tests/ecore/ecore_suite.c
blob: 0ade3c476f8d0e2a31942e7920e5f7bdd0d5877e (plain) (tree)
1
2
3
4
5
6
7
8
9



                    
                        
                         
 
                                    
                                
                
                                    
      
                                        


                                           
                                       
                                          
                                             
                                                                                             


                                        


                                      
                                            
                                          
                                                
                                        
                                          


                


                           
                    
 

                                               
 

                               

                                                                             


                                        
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include "ecore_suite.h"
#include "../efl_check.h"

static const Efl_Test_Case etc[] = {
  { "Ecore", ecore_test_ecore },
#if HAVE_ECORE_X
  { "Ecore_X", ecore_test_ecore_x },
#endif
  { "Ecore_Imf", ecore_test_ecore_imf },
#if HAVE_ECORE_AUDIO
  { "Ecore Audio", ecore_test_ecore_audio},
#endif
  { "Ecore_Timers", ecore_test_timer },
  { "Ecore_Evas", ecore_test_ecore_evas },
  { "Ecore_Animators", ecore_test_animator },
  { "Ecore_Test_Ccore_Thread_Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue },
#if HAVE_ECORE_DRM
  { "Ecore_Drm", ecore_test_ecore_drm },
#endif
#if HAVE_ECORE_FB
  { "Ecore_Fb", ecore_test_ecore_fb },
#endif
  { "Ecore_Input", ecore_test_ecore_input },
  { "Ecore_File", ecore_test_ecore_file },
  { "Ecore_Promise", ecore_test_ecore_promise },
  { "Ecore_Job", ecore_test_ecore_job },
  { "Ecore_Args", ecore_test_ecore_args },
  { NULL, NULL }
};

int
main(int argc, char **argv)
{
   int failed_count;

   if (!_efl_test_option_disp(argc, argv, etc))
     return 0;

   putenv("EFL_RUN_IN_TREE=1");

   failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
                                           "Ecore", etc);

   return (failed_count == 0) ? 0 : 255;
}