| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
We added this test for the exit code because the tests weren't failing if
one of the commands earlier in the pipeline failed, but mistakenly
suppressed printing a diff of the output (because diff always "fails" if
there is a difference.)
If there is a diff, print it; only if there is no diff, look at the exit
code.
Unreviewed, pushing to make developing the debugger easier.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on looking at the git logs, add copyright notices to files which
were missing them, assuming the copyright belongs to people who made major
contributions to each file.
Some assumptions were made as to who to assign the copyright to, such as,
what copyright assignment did the contributor make in other files added in
the same commit? What email address did they use to make the commit? What
copyright assignment did they make in other commits using the same email
address?
|
|
|
|
|
|
| |
This adds a SPDX-License-Identifier comment to all files that are part
of GJS, part of its unit tests, or auxiliary tools. (Except for some
files like the debugger scripts that don't support comments.)
|
|
|
|
|
| |
This script does not contain bashism and it can be safely changed to use
the default shell. This fixes 'ninja test' on FreeBSD.
|
|
|
|
|
|
| |
This command fails, for example, if /usr/bin/diff is not installed. If
that's the case then the test should fail, rather than passing with an
error message which could be overlooked.
|
|
This adds a simple debugger, adapted from the "jorendb" program in the
SpiderMonkey source. It has basic stepping, breaking, and printing
commands, that work like GDB. Activate it by running the GJS console
interpreter with the -d or --debugger flag _before_ the name of the JS
program on the command line.
To integrate it into programs that embed the GJS interpreter, call
gjs_context_setup_debugger_console() before executing the JS program.
It will print when Promises are launched and resolved, although it's not
yet possible to break at those points.
Closes: #110
|