LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 5217 - Drop DejaGNU.
Summary: Drop DejaGNU.
Status: RESOLVED FIXED
Alias: None
Product: Test Suite
Classification: Unclassified
Component: lit (show other bugs)
Version: trunk
Hardware: PC All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
: 6390 6391 (view as bug list)
Depends on: 5240
Blocks:
  Show dependency tree
 
Reported: 2009-10-16 17:23 PDT by Daniel Dunbar
Modified: 2019-05-18 18:16 PDT (History)
5 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Dunbar 2009-10-16 17:23:56 PDT
The new 'lit" test runner seems to work well for LLVM and Clang. We should move towards phasing out DejaGNU:
 1. Move buildbots to using lit.
 2. Move nightlytest to using lit.
 3. Poll llvm-dev for complaints and missing features.
 4. ?
Comment 1 Daniel Dunbar 2009-10-18 21:24:52 PDT
The public buildbot has moved to using 'lit' for all tests. This decreased the cycle time by ~30% on the fast x86_64 builder.

An additional step to do:
 4. "Build" lit during compile, so that $(llvm-config --bindir)/lit always works. It may even be worth tweaking the lit configs so that it uses this to implement the magic-out-of-build support, since the bin dir could be "compiled into" the version that gets put in the bin dir.
Comment 2 Daniel Dunbar 2009-10-18 23:15:11 PDT
Bug 5241 would be nice to have, but doesn't block dropping DejaGNU IMHO.
Comment 3 Daniel Dunbar 2009-11-08 03:38:06 PST
5. Move LLVM's TestRunner.sh to using 'lit' instead of 'check-one'.

#2 and #3 have been resolved.
Comment 4 Daniel Dunbar 2010-02-03 13:24:33 PST
We should complete this for 2.7.
Comment 5 Chris Lattner 2010-02-03 13:26:18 PST
2.7 only has a week or two to go...
Comment 6 Chris Lattner 2010-02-23 12:18:01 PST
*** Bug 6391 has been marked as a duplicate of this bug. ***
Comment 7 Daniel Dunbar 2010-08-01 19:13:32 PDT
Made lit default for make check in r109997.
Comment 8 Daniel Dunbar 2010-08-01 19:42:54 PDT
#4 done in r110000, there is now an 'llvm-lit' tool which lives in the tool directory, and knows how to find the LLVM object root.
Comment 9 Daniel Dunbar 2010-08-01 19:52:51 PDT
#5 done in r110002.

Last step is to rewrite TestingGuide.html.
Comment 10 Daniel Dunbar 2010-08-01 20:22:02 PDT
Updated testing guide basics in r110005.

This more or less finishes off this bug -- there is lots of cleanup we can do to finish purging DejaGNU, but we don't need a bug for it.
Comment 11 Chris Lattner 2010-08-02 01:41:14 PDT
woohoo!
Comment 12 Eli Bendersky 2012-03-25 06:04:01 PDT
r153408 and r153409 finalize purging DejaGNU from the sources of LLVM
Comment 13 J. Ryan Stinnett 2019-05-18 18:16:31 PDT
*** Bug 6390 has been marked as a duplicate of this bug. ***