From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan_Lynch@mentor.com (Nathan Lynch) Date: Tue, 25 Oct 2016 11:05:39 -0500 Subject: [lttng-dev] [RFC/PATCH 0/3] babeltrace: test harness improvements + new tests In-Reply-To: <70c97759-e06a-a744-7b71-e8a22275cc78@efficios.com> References: <1477409667-8309-1-git-send-email-nathan_lynch@mentor.com> <70c97759-e06a-a744-7b71-e8a22275cc78@efficios.com> Message-ID: On 10/25/2016 10:50 AM, Jonathan Rajotte Julien wrote: > > On 2016-10-25 11:34 AM, Nathan Lynch wrote: >> This is working toward moving from popt to GLib for command-line >> parsing. > > What is the motivation behind this ? Babeltrace already uses GLib extensively and, as best I can tell, it doesn't do anything with command-line options that GLib doesn't support. GLib's command-line parsing facility is explicitly intended to be a replacement for popt: https://developer.gnome.org/glib/stable/glib-Commandline-option-parser.html#glib-Commandline-option-parser.description I'm also working on improving Babeltrace's MinGW port and removing the popt dependency will make that easier.