Commit Graph

45 Commits

Author SHA1 Message Date
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
Bart Van Assche
9e5f29c3f6 - Added command-line option -d, which allows to specify a directory for
temporary regression test files.
- Added workaround for the problem that the branch profiling code in the
  2.6.29 kernel triggers a huge number of sparse warnings.
- Made sure that all tests print some output, even if successful.
- Improved summarizing of sparse warnings.
- Command-line option -j now works.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-24 19:08:29 +00:00
Bart Van Assche
1f2cbd53bb - Added command-line option -j (number of jobs that make should run
simultaneously).
- scripts/generate-kernel-patch is now only run once instead of three
  times per kernel version.
- Context imbalance warnings are no longer filtered from the output of
  sparse.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-23 19:58:18 +00:00
Bart Van Assche
a7efed3caf Changes:
- Added command-line option -f, which enables a full check. Changed
  behavior when -f has not been specified to running checkpatch, sparse
  and headers_check only. This makes the script complete a lot faster.
- A summary of the errors and warnings reported by checkpatch, sparse
  and make headers_check is now printed.
- Made the functions kernel_version and patchlevel more robust.
- The function duplicate_source_tree now only copies the files
  administered by Subversion. Other files, e.g. .o files, are skipped.
- Moved the make flag -j3 from individual make commands to a single
  assignment to the variable MAKEFLAGS, such that the make flags are
  easier to modify.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-21 10:21:26 +00:00
Bart Van Assche
553f1920e1 Bumped default kernel version to 2.6.28.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-01-17 10:34:48 +00:00
Bart Van Assche
8dadf2c789 Made "make htmldocs" the last step.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-06 16:28:05 +00:00
Bart Van Assche
a4f41bca01 Added 'make htmldocs'. Changed default kernel version from 2.6.27.7 into 2.6.27.8.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@606 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-06 13:39:16 +00:00
Bart Van Assche
52fae86a01 Added 'make headers_check', 'make checkstack' and 'make namespacecheck'.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-03 18:29:50 +00:00
Vladislav Bolkhovitin
31c2ada297 The patch below implements the following modifications for
scripts/run-regression-tests:
- Adds a description about what the script does.
- Added command-line option -c which allows to specify which directory to use
  as cache for kernel tar balls and patch files.
- More error checking.
- scst_local is now included in all the tests.
- Swapped the order of two test steps, namely compiling the whole tree and
  running sparse. This way the output of the sparse tool is available a lot
  sooner.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-18 18:47:09 +00:00
Vladislav Bolkhovitin
75d2a4b1a2 The patch below adds the first version of a script that runs regression tests
to the SCST source tree. All tests are run in an automated fashion, but result
interpretation is not yet completely automated.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@552 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-10-30 12:43:20 +00:00