diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2021-01-08 13:14:59 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2021-01-16 12:18:47 +0000 |
commit | 136f20b3869b6d9f72974e3ff09df0ae3d24d866 (patch) | |
tree | 0a211fd2c0c03df85c46fe69000934854cba2af4 /coolstress.in | |
parent | Start of using NodeJS to do load simulation. (diff) | |
download | online-136f20b3869b6d9f72974e3ff09df0ae3d24d866.tar.gz online-136f20b3869b6d9f72974e3ff09df0ae3d24d866.zip |
Use jsdom to load and execute our CSS, HTML and JS.
Change-Id: Ia7414e1fd19bf7ebfa29274d1acac5cee4837341
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'coolstress.in')
-rwxr-xr-x | coolstress.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/coolstress.in b/coolstress.in new file mode 100755 index 0000000000..1fc3231967 --- /dev/null +++ b/coolstress.in @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# This is a wrapper - please edit coolstress.in + +prefix="@prefix@" +datadir="@datadir@" +datarootdir="@datarootdir@" +pkgdatadir="$(datadir)/@PACKAGE@" + +# to allow runnning when not installed +abs_top_builddir="@abs_top_builddir@" +abs_top_srcdir="@abs_top_srcdir@" + +node --inspect $abs_top_srcdir/loleaflet/test/load.js "$abs_top_srcdir" "$abs_top_builddir" $* |