Hi
Currently system call numbers are updated through *.in files in testcases/kernel/include. Using regen.sh a single linux_syscall_numbers.h file is generated, which is used as reference by test cases that are making syscall(), direct call to the system instead of going through glibc wrapper. In case .in files are update, calling make wont update linux_syscall_numbers.h, We need to call make regen, and hence updates may get missed out during LTP test suite build.
        I am attaching Makefile correction to get away with the problem.
Please let me know what you think of the solution. Else if it is not needed let me know how to come around the problem.
Thanks
Sharyathi N

Index: ltp-full-20070930/testcases/kernel/include/Makefile
===================================================================
--- ltp-full-20070930.orig/testcases/kernel/include/Makefile	2008-01-07 14:53:38.000000000 +0530
+++ ltp-full-20070930/testcases/kernel/include/Makefile	2008-01-07 14:54:22.000000000 +0530
@@ -1,4 +1,4 @@
-all: 
+all: regen 
 	ln -sf ../testcases/kernel/include/linux_syscall_numbers.h ../../../include/
 
 clean distclean:
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to