Skip to content
Snippets Groups Projects
  1. Oct 14, 2016
  2. Oct 13, 2016
  3. Sep 22, 2016
  4. Aug 20, 2016
  5. Aug 06, 2016
  6. Jul 22, 2016
  7. Jul 17, 2016
  8. Jul 15, 2016
  9. Jul 14, 2016
  10. Jul 08, 2016
    • Daniel Schwierzeck's avatar
      test/py: support 'memstart =' in u_boot_utils.find_ram_base() · d56dd0b1
      Daniel Schwierzeck authored
      
      Some archs like MIPS or PPC have a different 'bdinfo' output
      than ARM regarding the memory configuration. Also support
      'memstart = 0x*' in u_boot_utils.find_ram_base() to make
      all tests requiring the RAM base working on those archs.
      
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Acked-by: default avatarStephen Warren <swarren@nvidia.com>
      d56dd0b1
    • Stephen Warren's avatar
      test/py: strip VT100 codes from match buffer · 085e64dd
      Stephen Warren authored
      
      Prior to this patch, any VT100 codes emitted by U-Boot are considered part
      of a command's output, which often causes tests to fail. For example,
      test_env_echo_exists executes printenv, and then considers any text on a
      line before an = sign as a valid U-Boot environment variable name. This
      includes any VT100 codes emitted. When the test later attempts to use that
      variable, the name would be invalid since it includes the VT100 codes.
      Solve this by stripping VT100 codes from the match buffer, so they are
      never seen by higher level test code.
      
      The codes are still logged unmodified, so that users can expect U-Boot's
      exact output without interference. This does clutter the log file a bit.
      However, it allows users to see exactly what U-Boot emitted rather than a
      modified version, which hopefully is better for debugging. It's also much
      simpler to implement, since logging happens as soon as text is received,
      and so stripping the VT100 codes from the log would require handling
      reception and stripping of partial VT100 codes.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      085e64dd
    • Stephen Warren's avatar
      test/py: fix CONFIG_ tests · a82642f3
      Stephen Warren authored
      
      Some CONFIG_ variables were recently renamed, but test/py wasn't updated
      to match. This causes some tests to be skipped. Fix test/py so the tests
      are run.
      
      Fixes: 11636258 ("Rename reset to sysreset")
      Fixes: f1f9d4fa ("hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER")
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      a82642f3
  11. Jun 19, 2016
  12. Jun 09, 2016
    • Heiko Schocher's avatar
      tests: py: disable main_signon check for printenv cmd · da37f006
      Heiko Schocher authored
      
      if CONFIG_VERSION_VARIABLE is set, the U-Boot environment
      contains a "vers" variable with the current U-Boot version
      string. If now "printenv" is called, test/py fails as it
      detects the main_sign string, which is in this case correct.
      
      So check only the main_sign as an error, if CONFIG_VERSION_VARIABLE
      is not set.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      da37f006
  13. May 27, 2016
  14. May 13, 2016
  15. May 06, 2016
    • Stephen Warren's avatar
      test/py: dfu: wait for USB device to go away at boot · daa69f5f
      Stephen Warren authored
      
      It can take a while for a host machine to notice that a USB device has
      disconnected, and process the change. At the end of the DFU test, we wait
      up to 10 seconds for this to happen. This change makes the test wait the
      same (up to) 10 seconds at the start of the test for any previously active
      USB device-mode session to be cleaned up. Such as session might have been
      used to download U-Boot into memory for example; this is certainly true
      on my Tegra test systems. This changes should solve the DFU test
      intermittency issues I've been seeing on some Tegra devices.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      daa69f5f
  16. Apr 25, 2016
Loading