Skip to content
Snippets Groups Projects
  1. Aug 22, 2014
  2. Aug 19, 2014
    • Erwan Jahier's avatar
      lus2lic --gen-autotest : change the strategy to compare real values en generated oracles. · f02e8b1b
      Erwan Jahier authored
      Indeed, for big integers, looking at |x-x'|<eps leads to false
      positive, because of the precision (*); it is better to to look at
      |1-x/x'|<eps
      
      (*) the precision (-p 6) influence the comparison, because the SUT
      currently sends its result via a socket and truncate the result
      (which is probably a bad idea).
      
      nb : the exec time explose (x3), but for an external (unknown) reason
      (undoing the change leads to the same exec time ~800s).
      f02e8b1b
  3. Aug 14, 2014
    • Erwan Jahier's avatar
      fd23885a
    • Erwan Jahier's avatar
      lic2soc: fix the translation of the current operator into SOC. · d3061085
      Erwan Jahier authored
      nb : the -exec mode was working because I did not use the generated soc,
      which was completely wrong.
      
      Note that to do that, I have modified the CURRENT variant of
      Lic.val_exp, to attach it the clock the current holds on. Indeed, the
      clock is mandatory to generated correct code...
      
      In an ideal world, this clock information may have explicitely been
      set by the user ("current(clk_of_X,X)" instead of "current(X)"), but
      for historical reason, it is not the case.
      
      Hence, this information is added as soon as it is available, namely,
      during clock checking.
      d3061085
  4. Aug 07, 2014
    • Erwan Jahier's avatar
      nonreg test : use /tmp/lus2lic-test dir instead of /tmp, and clean it before the test. · c206ce14
      Erwan Jahier authored
      Indeed, starting from a clean /tmp dir changed the result of the non reg test...
      c206ce14
    • Erwan Jahier's avatar
      Fix the behavior of condact in the -exec mode. · 213188b1
      Erwan Jahier authored
      Indeed, once the activation condition has been true, and when it is
      false it wax returning the default value instead of the previous one.
      
      # of expected passes 		1512 -> 1519
      # of unexpected failures	84 -> 78
      213188b1
    • Erwan Jahier's avatar
      non-reg tests: try to remove tests that fail for bad reasons. · 5c16363d
      Erwan Jahier authored
      For instance, do not launch tests that perform result comparison (via
      lurette) on files that contains extern nodes (as they cannot be
      executed) or package.  Package do not work because appending the
      tested lustre file with the generated oracle as I do is wrong in
      presence of package.
      
      Moreover, my current test process is not able to test programs which
      main node IOs are not all on the base clock. I have fixed this by
      patching the examples.
      
      # of expected passes 		1508 -> 1512
      # of unexpected failures	130 -> 84
      5c16363d
  5. Jul 11, 2014
  6. Jul 10, 2014
  7. Jul 09, 2014
  8. Jul 07, 2014
  9. Jul 04, 2014
  10. Jul 01, 2014
    • Erwan Jahier's avatar
      Soc2c: inline ITE soc, to make things simpler. · a4df5e5e
      Erwan Jahier authored
      Indeed, ite are polymorphic, and thus inventing names during soc
      instanciation is error-prone, ugly, innefficient, and increase the
      code size.
      
      Moreover, using C ite to translate them online (ie, without going
      trough a soc) is straigforward
      
      # of unexpected failures	104->101.
      a4df5e5e
  11. Jun 27, 2014
  12. Jun 26, 2014
  13. Jun 24, 2014
  14. Jun 23, 2014
  15. Jun 20, 2014
  16. Jun 19, 2014
Loading