Commit Graph

59 Commits

Author SHA1 Message Date
Bart Van Assche
4eebec2e1b Update according to new kernel.org directory tree structure
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3802 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 08:07:38 +00:00
Bart Van Assche
dbc55781d7 Add remaining Linux kernel 3.0 patches and port nightly build scripts to 3.0 too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3783 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 14:05:47 +00:00
Vladislav Bolkhovitin
7096e492ba Improve changing debug/release/etc states by making them not depending
from the previous state. Hence, the corresponding labels were renamed to
2debug, 2release and 2perf.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 23:10:08 +00:00
Bart Van Assche
2a12a99cff scripts/run-regression-tests: echo "FAILED" if compilation failed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3453 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-13 10:40:40 +00:00
Bart Van Assche
af0a496e57 Added the srpt pre-cflags patch to the nightly build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3372 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 10:51:58 +00:00
Bart Van Assche
3b7a256515 Added support for longterm kernels.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3297 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-22 17:57:10 +00:00
Bart Van Assche
49d6385405 Disable tracing when running regression tests because sparse chokes on the code in the tracing macros.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3193 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:28:58 +00:00
Bart Van Assche
5fe037e5b9 Updated my e-mail address in copyright statements and README files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:48:14 +00:00
Bart Van Assche
fe247fde3b Get rid of sparse errors on sk_buff.protocol.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2970 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-07 18:51:37 +00:00
Bart Van Assche
bda82476ad Added per-kernel option -i.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2439 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 18:25:10 +00:00
Bart Van Assche
5f2c6acabf Added kernel version to patch directory name.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2386 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-09 16:09:04 +00:00
Bart Van Assche
9eac25591f If option -p has been specified, run checkpatch on the split out patches instead
of the single large patch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:25:58 +00:00
Bart Van Assche
6ced6c5338 Added command-line option -p: apply SCST as multiple patches to the Linux kernel instead of a single patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:06:07 +00:00
Bart Van Assche
45848e74a4 Added command-line option -l.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2323 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-01 11:00:29 +00:00
Bart Van Assche
99bfb0c117 Build ibmvstgt.ko too on PowerPC systems.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 11:03:57 +00:00
Bart Van Assche
e10b167288 Added --no-tree option to checkpatch such that checkpatch does not check for the Signed-off-by: ... line.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2264 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:05:49 +00:00
Bart Van Assche
6b3dd43604 Changes: save output of 'make allmodconfig' and also build the drivers/scsi
modules with sparse for 2.6.35.x kernel versions instead of only 2.6.35.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2190 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 07:02:56 +00:00
Bart Van Assche
780d8b439c Added scsi_tgt-related source files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2171 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 18:59:04 +00:00
Bart Van Assche
4340c8f66f Made kernel builds more silent.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2087 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 08:34:47 +00:00
Bart Van Assche
055686251d Disable CONFIG_DEBUG_STRICT_USER_COPY_CHECKS before starting a kernel build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2085 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 08:07:19 +00:00
Vladislav Bolkhovitin
716107a964 Docs updates before making the sys interface default
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2039 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-03 16:38:19 +00:00
Bart Van Assche
5c6a0c9e17 Fixed bug in 'svn status -v' output parser.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1856 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-22 07:23:26 +00:00
Bart Van Assche
427dadcb74 Enabled endianness checks.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-16 18:53:25 +00:00
Bart Van Assche
b97a6bbbf2 Don't run patch -p1 --dry-run on the generated kernel patch because this fails
for patches that depend on each other, e.g. the fcst in-tree patches.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1764 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-12 05:55:48 +00:00
Bart Van Assche
af5ae6eeb7 Do not try to include files marked for deletion.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-04 20:05:53 +00:00
Bart Van Assche
12c4889bfa Option -f is now a per-kernel option instead of a global option.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:28:02 +00:00
Bart Van Assche
a0aec0ddc1 Added per-kernel options -nc and -ns, which allow to disable the
checkpatch and the sparse run respectively.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 10:33:09 +00:00
Bart Van Assche
0c3c7bc193 run-regression-tests:
- Adding the suffix "-u" to a kernel version will make the tests to be run
  with generate-kernel-patch -u ${kernel_version} instead of
  generate-kernel-patch ${kernel_version}.
generate-kernel-patch:
- sBUG(...) and sBUG_ON(...) are now replaced by BUG(...) and BUG_ON(...)
  respectively.
- Option -n does no longer disable the above substitution.
- Source file scst/src/scst_proc.c is now excluded when option -u is specified.
specialize-patch:
- Replaced variable delete_disabled_code by blank_deleted_lines. While setting
  the former variable had the effect of deleting disabled code, the latter
  has the effect of replacing disabled code by blank lines.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:46:40 +00:00
Bart Van Assche
b08548b174 Added debug2perf and disable_proc configurations to the regression tests.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 10:57:36 +00:00
Bart Van Assche
f1c41721ea Re-enabled the debug2release build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:14:47 +00:00
Bart Van Assche
ef11d133df Prepared switch to "make debug2release".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:05:21 +00:00
Bart Van Assche
99d9057717 Temporarily disabled release build testing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1233 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 19:43:48 +00:00
Bart Van Assche
c0cc23e7f8 Fixed typo.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-15 07:48:39 +00:00
Bart Van Assche
c821d226f3 Run a full check not only on the first specified kernel version but also on kernel version 2.6.26.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-15 07:15:56 +00:00
Bart Van Assche
23aeb6590f Apply the 2.6.31 kmemcheck patch not only to current but also to future 2.6.31.* kernels since the change is small that the submitted patch will be integrated.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-14 14:21:19 +00:00
Bart Van Assche
2a359798cf Applied fix for sparse warning to 2.6.31.4 too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-14 07:07:53 +00:00
Bart Van Assche
ebc6c27bde Reworked qla2x00t patch generation process:
- Moved qla2x00t patch generation code from qla2x00t/Makefile to
  qla2x00t/extract-qla2xxx-orig and qla2x00t/generate-in-tree-patches.
  Restored qla2x00t/Makefile to r1104.
- scripts/run-regression-tests now passes the full kernel version (including
  patch level) to scripts/generate-kernel-patch.
- scripts/generate-kernel-patch can now generate patches for the files
  in drivers/scsi/qla2xxx for any kernel version instead of only 2.6.26.8.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-11 15:54:04 +00:00
Bart Van Assche
19d5af487e Added a reference to the submitted kernel patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1197 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-11 11:42:34 +00:00
Bart Van Assche
2337301ddc Added command-line option -k, which makes run-regression-tests consume
less disk space when running the regression test for multiple kernel
versions.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1195 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-11 09:48:36 +00:00
Bart Van Assche
955405ff6b Added a kernel patch for a 2.6.31 regression.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1193 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-10 18:04:02 +00:00
Bart Van Assche
393c423380 Excluded qla2x00t from local build because compiling it is only possible after having modified the local kernel headers.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-23 07:03:29 +00:00
Bart Van Assche
192e2eff4f Added qla2x00t to the nightly build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-22 18:27:54 +00:00
Bart Van Assche
aaf2ed455d Modified scripts invoked during a regression test run such that the line numbers printed by sparse match those of the SCST source files present in the Subversion repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1068 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 16:42:26 +00:00
Bart Van Assche
92dbb5eebf Made command-line option documentation more clear.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@900 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-15 10:59:54 +00:00
Bart Van Assche
706eee64fd Only apply patch d9ad8bc0ca823705413f75b50c442a88cc518b35 to kernels
2.6.29 up to and including 2.6.29.3 since this patch is included in
2.6.29.4 and higher and also in 2.6.30 and higher.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@868 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-20 16:48:14 +00:00
Bart Van Assche
5bf646abe4 URL of sparse homepage is now printed in case sparse was not found.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@761 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 16:33:55 +00:00
Bart Van Assche
411301293a When multiple kernel versions have been specified in the argument list, only run checkpatch and sparse on the first specified kernel version. For the other kernel versions, compile the kernel source code but do not run checkpatch or sparse.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@757 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 08:11:06 +00:00
Bart Van Assche
fa075b2a77 - Added command-line option -q, which allows to suppress download messages.
- Disabled running "make headers_check" because it produces a lot of output
  with the 2.6.29 kernel, and none of the output applies to SCST.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@756 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 07:25:50 +00:00
Bart Van Assche
cd881f8729 Check for sparse before starting the regression tests.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@749 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-04 18:03:43 +00:00
Bart Van Assche
1541792b38 Changed usage slightly: kernel versions are now accepted without the switch -k.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@748 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-04 15:14:21 +00:00