<html>
    <head>
      <base href="http://bugzilla.scilab.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Running tests for the "atoms" modules changes the repository used by atoms, makes it unusable"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=14261">bug 14261</a>
                <br><br>
                ---------- Bug Summary ----------- <br>Running tests for the "atoms" modules changes the repository used by atoms, makes it unusable <br><br>

          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>sgougeon@free.fr
           </td>
           <td>bugzilla.admin@scilab.org
           </td>
         </tr></table>
      <p>
        <div>

            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Running tests for the "atoms" modules changes the repository used by atoms, makes it unusable"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=14261#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Running tests for the "atoms" modules changes the repository used by atoms, makes it unusable"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=14261">bug 14261</a>
              from <span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span></b>
        <pre>Looking at this bug to fix it, here are some additional comments:

<span class="quote">>the issue happens when running just one test:</span >

* "<a href="http://scene10.6.0.test.atoms.scilab.org">http://scene10.6.0.test.atoms.scilab.org</a>" is set in all the following tests :
atomsAutoloadAdd.tst
atomsAutoloadDel.tst
atomsDepTreeShow.tst
atomsInstall.tst
atomsInstallList.tst
atomsRemoveList.tst
atomsRepositoryAdd.tst
atomsRepositoryDel.tst
atomsShow.tst
atomsUpdate.tst

* atomsSaveConfig() and atomsRestoreConfig() should handle both repositories lists (user and allusers), in addition configuration parameters.
 These lists should be seen as part of the configuration.

* atomsRepositorySetOfl() that sets "<a href="http://scene10.6.0.test.atoms.scilab.org">http://scene10.6.0.test.atoms.scilab.org</a>" is an internal and so is not documented.
  It puzzlingly looks like a weak duplicate of atomsRepositoryAdd().
  Anyway, it makes no backup of the repository list that it overwrites.

* Presently, in the tests, atomsRepositorySetOfl() is used at the end to restore the former repositories list.
  But this list is a "factory" one taken from SCI, not from SCIHOME. So if the contributor running tests has priorly set other repositories than only
the official Scilab one, they are not restored.

* Finally, "<a href="http://scene10.6.0.test.atoms.scilab.org">http://scene10.6.0.test.atoms.scilab.org</a>" is not reachable from outside. So tests can't be run by a contributor external to S/E.
  And this bug can't be fixed by a contributor.

IMO, 
* atomsSaveConfig() and atomsRestoreConfig() should be upgraded in order to manage lists of repositories. This will likely require a SEP.
* A public sandbox should be created on the ATOMS server, in order to replaced "<a href="http://scene10.6.0.test.atoms.scilab.org">http://scene10.6.0.test.atoms.scilab.org</a>" or to make it public and
usable by atoms tests.
* Then, files.tst should be upgraded</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>