igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [igt-dev] Prospective igt shell (javascript interface)
@ 2018-08-20 13:01 Chris Wilson
  2018-08-20 13:01 ` [igt-dev] [PATCH i-g-t 1/6] Initial import of minimal duktape (JavaScript) shell Chris Wilson
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Chris Wilson @ 2018-08-20 13:01 UTC (permalink / raw)
  To: igt-dev

Just to put it into perspective how easy I found it working with Duktape
to create a working script interpreter that can execute our tests faster
than ld can even load our binaries.

The import of duktape is probably too large for the list, but there is
nothing more there than load-file and eval, with some hooks to allow the
later drivers to install themselves into the initial environment.
(Automatic installation to avoid having to add require('foo') to every
script. In theory any ECMAScript (i.e from npm) can be loaded it just
requires hooking up the path finder.)
-Chris


_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-21  9:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-20 13:01 [igt-dev] Prospective igt shell (javascript interface) Chris Wilson
2018-08-20 13:01 ` [igt-dev] [PATCH i-g-t 1/6] Initial import of minimal duktape (JavaScript) shell Chris Wilson
2018-08-20 13:01 ` [igt-dev] [PATCH i-g-t 2/6] igt/shell: Extend Math to perform simple array permutations Chris Wilson
2018-08-20 13:01 ` [igt-dev] [PATCH i-g-t 3/6] igt/shell: Simple OS interface Chris Wilson
2018-08-20 13:01 ` [igt-dev] [PATCH i-g-t 4/6] igt/shell: Primitive drm device/drivers builtin Chris Wilson
2018-08-20 13:01 ` [igt-dev] [PATCH i-g-t 5/6] igt/shell: Add primitive i915 wrapping Chris Wilson
2018-08-20 13:01 ` [igt-dev] [PATCH i-g-t 6/6] igt/shell: Add primitive vgem wrapping Chris Wilson
2018-08-20 13:12 ` [igt-dev] Prospective igt shell (javascript interface) Chris Wilson
2018-08-21  9:12 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/6] Initial import of minimal duktape (JavaScript) shell Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).