Commit graph

7 commits

Author SHA1 Message Date
Stas Boukarev 4082dec495 sbcl-pwd.sh: Fix when $OSTYPE is not set. 2013-11-08 00:02:16 +04:00
Stas Boukarev cf49f2d086 Fix contrib building on mingw.
The current directory has to be found out using pwd -W, to avoid any
conversion into unix-looking pathnames.
2013-11-06 21:11:53 +04:00
Nikodemus Siivola 4c4e3579b9 1.0.27.23: fix bashism in sbcl-pwd.sh
* OSTYPE might not be set in a non-bash shell.
2009-04-22 20:14:09 +00:00
Richard M Kreuter a42922aef9 1.0.13.1: Various cleanups and touchups in tests/
* Tests written in shell modified to use shell functions, rather than
  variables, so that tests written in shell can run when the build
  directory's absolute pathname contains whitespace (as home
  directories might tend to on Windows).

* tests/subr.sh: new file, with some shell functions, variables, and
  settings to support the above.  Files in the test suite written in
  shell should source this file.

* Factored code for creating and cleaning up temporary directories for
  tests written in shell that touch the file system.  Test scripts
  written in shell should now call "use_test_subdirectory" to create
  and chdir to a test directory, and the shell should clean out the
  test directory at exit time.

* Most tests written in shell now quote filenames that derive from the
  truename of the current working directory or from an environment
  variable, as such names may contain whitespace.  (Variables set to
  non-offending constant strings in the script itself need not be
  quoted this way.)

* tests/filesys.test.sh was not prepared to deal with a TRUENAME that
  resolves all symbolic links in a pathname, as a soon-to-be-committed
  TRUENAME will; "/tmp" on MacOSX is a symbolic link to
  "/private/tmp".  POSIX pwd(1) takes a -P option to resolve symbolic
  links in the working directory's path, so we'll try that.

* Tests now supply --no-userinit, --no-sysinit arguments, so that we
  don't need to conditionalize these for win32.

* Some tests written in shell changed from using --eval <string> to
  heredocs, which allows the Lisp code the be formatted nicer and
  avoids some shell quotation headaches (not all, of course).

* Minor shell errors corrected in some tests.  Notable example:

    program; if [ $? != $value ]; then echo failed $?; fi

  Because "[" is a child process, after the test $? is set to the exit
  status of the "["; the exit status of "program" is lost.
2007-12-28 19:46:57 +00:00
Rudi Schlatte 102b7c83b3 1.0.10.40: Fix build for windows when source directory contains spaces 2007-10-08 11:02:52 +00:00
Rudi Schlatte 3126dc3519 0.9.14.1
Fix typo for building under cygwin
2006-06-27 12:52:34 +00:00
Nikodemus Siivola 1acfa21e07 0.9.13.16: preliminary Windows installer builder
* Added "free software & no warranty" summary to top of COPYING.

 * tools-for-build/rtf.lisp turns COPYING into License.rtf needed
   for the installer.

 * tools-for-build/wxs.lisp generates the XML from which
   the installer is built.

 * refactor good-for-lisp pathname logic from make-target-contrib.sh
   to sbcl-pwd.sh.

 * make-windows-installer.sh builds sbcl.msi into output/,
   assuming WiX (2.0) is installed in $PROGRAMFILES/WiX or
   $WIX_PATH.

   The installer installs sbcl.exe, sbcl.core, and contribs
   into $PROGRAMFILES/Steel Bank Common Lisp/<sbcl-version>/
   by default, though the location is configurable.

   .lisp and .fasl files are associated with the installed
   SBCL, action being to start SBCL and load the file.

   The installation directory is added to PATH.

   SBCL_HOME is set to the installation directory.

   A shortcut is added to the start-menu. The shortcut refers
   to the core explicitly, and will continue to work even if
   a newer SBCL is installed.
2006-06-01 09:14:25 +00:00