Hi! > 1. You can add a statement 'ifdef _android' or something in your > code and try to compile it. So, this code will not compile at > all, > 2. Similarly check for other SYSTEM CALLs and APIs which are not > supported on Android and create a list first (else you will keep > coming back to LTP mailing list with all these failures, and, i > am not sure whether anybody will look into all your issues). > Create patches accordingly, > 3. Maintain those patches privately(apply them every time you are > building LTP) with you as i believe LTP community will probably > not interested to add check for Android (they may be, you can > talk to Cyril/Shubham/Garrett/Mike Frysinger),
If you look into Makefiles (for example testcases/kernel/Makefile) there often is check ifeq($(UCLINUX), 1) or something like that and some tests/subdirectories are filtered out from the targets based on that. So if you are using original LTP buildsystem you may just do the same for android (and if done right, this changes will be accepted upstream). -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
