octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57735] pkg: package names should be handled c


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57735] pkg: package names should be handled case insensitively
Date: Wed, 24 Jun 2020 04:12:36 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36 Edg/83.0.478.54

Follow-up Comment #5, bug #57735 (project octave):

Two tests are failing on the buildbots since this change:

>>>>> processing
/scratch/buildbot/workers/jwe-debian-x86_64-1/clang-4_0-debian/src/test/pkg/pkg.tst
***** testif HAVE_Z
 ## Do all tests in a temporary directory
 [old_prefix, old_archprefix] = pkg ("prefix");
 restorecfg = onCleanup (@() pkg ("prefix", old_prefix, old_archprefix));
 old_local_list = pkg ("local_list");
 restorecache = onCleanup (@() pkg ("local_list", old_local_list));
 old_global_list = pkg ("global_list");
 restoreglobalcache = onCleanup (@() pkg ("global_list", old_global_list));
 prefix = tempname ();
 [status] = mkdir (prefix);
 if (! status)
   error ("pkg.tst: Could not create temporary directory for pkg testing");
   return;  # abort further testing
 endif
 pkg ("prefix", prefix, prefix);
 pkg ("local_list", fullfile (prefix, "octave_packages"));
 pkg ("global_list", fullfile (prefix, "octave_packages"));
 rmtmpdir = @onCleanup (@() test_cleanup (prefix));
 ## Create tar.gz file packages of testing directories in prefix directory
 mfile_pkg_name = {"mfile_basic_test", "mfile_minimal_test"};
 mfile_pkg_tar = fullfile (prefix, strcat (mfile_pkg_name, ".tar"));
 mfile_pkg_tgz = strcat (mfile_pkg_tar, ".gz");
 for i = 1:numel (mfile_pkg_name)
   tar (mfile_pkg_tar{i}, mfile_pkg_name{i});
   gzip (mfile_pkg_tar{i});
 endfor
!!!!! test failed
pkg: cannot create file /tmp/oct-vhqn0c/octave_packages
***** testif HAVE_Z
 silent_pkg_install ("-local", mfile_pkg_tgz{1});
 [desc, flag] = pkg ("describe", mfile_pkg_name{1});
 ## FIXME: this only tests that the describe command runs,
 ##        not that the output is in anyway correct.
 system (["chmod -Rf u+w '" prefix "'"]);     ## FIXME: Work around bug
#53578
 pkg ("uninstall", mfile_pkg_name{1});
!!!!! test failed
matrix cannot be indexed with {


Might be because input should be case sensitive for "prefix" (and maybe
others).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57735>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]