[gjs: 5/6] maint: Add copyright notices to debugger tests
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 5/6] maint: Add copyright notices to debugger tests
- Date: Mon, 30 Nov 2020 21:04:23 +0000 (UTC)
commit 70f42c58ed372e7e004af85fece00c7542cf304a
Author: Philip Chimento <philip chimento gmail com>
Date: Mon Nov 30 12:24:22 2020 -0800
maint: Add copyright notices to debugger tests
These are a bit more difficult to get right since adding them adjusts the
line numbers and the expected output, so we add them in a separate commit.
installed-tests/debugger/backtrace.debugger | 2 ++
installed-tests/debugger/backtrace.debugger.js | 2 ++
installed-tests/debugger/backtrace.debugger.output | 14 +++++----
installed-tests/debugger/breakpoint.debugger | 8 +++--
installed-tests/debugger/breakpoint.debugger.js | 2 ++
.../debugger/breakpoint.debugger.output | 20 +++++++------
installed-tests/debugger/continue.debugger | 2 ++
installed-tests/debugger/continue.debugger.js | 2 ++
installed-tests/debugger/continue.debugger.output | 6 ++--
installed-tests/debugger/delete.debugger | 6 ++--
installed-tests/debugger/delete.debugger.js | 2 ++
installed-tests/debugger/delete.debugger.output | 22 +++++++-------
installed-tests/debugger/detach.debugger | 2 ++
installed-tests/debugger/detach.debugger.js | 2 ++
installed-tests/debugger/detach.debugger.output | 2 ++
installed-tests/debugger/down-up.debugger | 2 ++
installed-tests/debugger/down-up.debugger.js | 2 ++
installed-tests/debugger/down-up.debugger.output | 20 +++++++------
installed-tests/debugger/finish.debugger | 2 ++
installed-tests/debugger/finish.debugger.js | 2 ++
installed-tests/debugger/finish.debugger.output | 14 +++++----
installed-tests/debugger/frame.debugger | 2 ++
installed-tests/debugger/frame.debugger.js | 2 ++
installed-tests/debugger/frame.debugger.output | 8 +++--
installed-tests/debugger/keys.debugger | 2 ++
installed-tests/debugger/keys.debugger.js | 2 ++
installed-tests/debugger/keys.debugger.output | 4 ++-
installed-tests/debugger/next.debugger | 2 ++
installed-tests/debugger/next.debugger.js | 2 ++
installed-tests/debugger/next.debugger.output | 22 +++++++-------
installed-tests/debugger/print.debugger | 2 ++
installed-tests/debugger/print.debugger.js | 2 ++
installed-tests/debugger/print.debugger.output | 4 ++-
installed-tests/debugger/quit.debugger | 2 ++
installed-tests/debugger/quit.debugger.js | 2 ++
installed-tests/debugger/quit.debugger.output | 2 ++
installed-tests/debugger/return.debugger | 8 +++--
installed-tests/debugger/return.debugger.js | 2 ++
installed-tests/debugger/return.debugger.output | 20 +++++++------
installed-tests/debugger/set.debugger | 2 ++
installed-tests/debugger/set.debugger.js | 2 ++
installed-tests/debugger/set.debugger.output | 4 ++-
installed-tests/debugger/step.debugger | 2 ++
installed-tests/debugger/step.debugger.js | 2 ++
installed-tests/debugger/step.debugger.output | 34 ++++++++++++----------
installed-tests/debugger/throw.debugger | 2 ++
installed-tests/debugger/throw.debugger.js | 2 ++
installed-tests/debugger/throw.debugger.output | 10 ++++---
installed-tests/debugger/until.debugger | 8 +++--
installed-tests/debugger/until.debugger.js | 2 ++
installed-tests/debugger/until.debugger.output | 18 +++++++-----
51 files changed, 208 insertions(+), 106 deletions(-)
---
diff --git a/installed-tests/debugger/backtrace.debugger b/installed-tests/debugger/backtrace.debugger
index 7b86c07c..6aea227d 100644
--- a/installed-tests/debugger/backtrace.debugger
+++ b/installed-tests/debugger/backtrace.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
backtrace
c
bt
diff --git a/installed-tests/debugger/backtrace.debugger.js b/installed-tests/debugger/backtrace.debugger.js
index b5e9bc71..9b84935b 100644
--- a/installed-tests/debugger/backtrace.debugger.js
+++ b/installed-tests/debugger/backtrace.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
debugger;
[[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]].forEach(array => {
debugger;
diff --git a/installed-tests/debugger/backtrace.debugger.output
b/installed-tests/debugger/backtrace.debugger.output
index 021be8a9..0f338e53 100644
--- a/installed-tests/debugger/backtrace.debugger.output
+++ b/installed-tests/debugger/backtrace.debugger.output
@@ -1,14 +1,16 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> backtrace
-#0 toplevel at backtrace.debugger.js:1:0
+#0 toplevel at backtrace.debugger.js:3:0
db> c
-Debugger statement, toplevel at backtrace.debugger.js:1:0
+Debugger statement, toplevel at backtrace.debugger.js:3:0
db> bt
-#0 toplevel at backtrace.debugger.js:1:0
+#0 toplevel at backtrace.debugger.js:3:0
db> c
-Debugger statement, <anonymous>([object Array], 0, [object Array]) at backtrace.debugger.js:3:4
+Debugger statement, <anonymous>([object Array], 0, [object Array]) at backtrace.debugger.js:5:4
db> where
-#0 <anonymous>([object Array], 0, [object Array]) at backtrace.debugger.js:3:4
-#1 toplevel at backtrace.debugger.js:2:36
+#0 <anonymous>([object Array], 0, [object Array]) at backtrace.debugger.js:5:4
+#1 toplevel at backtrace.debugger.js:4:36
db> q
Program exited with code 0
diff --git a/installed-tests/debugger/breakpoint.debugger b/installed-tests/debugger/breakpoint.debugger
index 7a14f474..fbb93857 100644
--- a/installed-tests/debugger/breakpoint.debugger
+++ b/installed-tests/debugger/breakpoint.debugger
@@ -1,6 +1,8 @@
-breakpoint 2
-break 4
-b 6
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
+breakpoint 4
+break 6
+b 8
c
c
c
diff --git a/installed-tests/debugger/breakpoint.debugger.js b/installed-tests/debugger/breakpoint.debugger.js
index 1ca40305..25545a79 100644
--- a/installed-tests/debugger/breakpoint.debugger.js
+++ b/installed-tests/debugger/breakpoint.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
print('1');
print('2');
function foo() {
diff --git a/installed-tests/debugger/breakpoint.debugger.output
b/installed-tests/debugger/breakpoint.debugger.output
index 1d9bc498..6ba35fb5 100644
--- a/installed-tests/debugger/breakpoint.debugger.output
+++ b/installed-tests/debugger/breakpoint.debugger.output
@@ -1,19 +1,21 @@
GJS debugger. Type "help" for help
-db> breakpoint 2
-Breakpoint 1 at breakpoint.debugger.js:2:0
-db> break 4
-Breakpoint 2 at breakpoint.debugger.js:4:4
-db> b 6
-Breakpoint 3 at breakpoint.debugger.js:6:0
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
+db> breakpoint 4
+Breakpoint 1 at breakpoint.debugger.js:4:0
+db> break 6
+Breakpoint 2 at breakpoint.debugger.js:6:4
+db> b 8
+Breakpoint 3 at breakpoint.debugger.js:8:0
db> c
1
-Breakpoint 1, toplevel at breakpoint.debugger.js:2:0
+Breakpoint 1, toplevel at breakpoint.debugger.js:4:0
db> c
2
-Breakpoint 3, toplevel at breakpoint.debugger.js:6:0
+Breakpoint 3, toplevel at breakpoint.debugger.js:8:0
db> c
3
-Breakpoint 2, foo() at breakpoint.debugger.js:4:4
+Breakpoint 2, foo() at breakpoint.debugger.js:6:4
db> c
Function foo
Program exited with code 0
diff --git a/installed-tests/debugger/continue.debugger b/installed-tests/debugger/continue.debugger
index bdbcae46..330d15ba 100644
--- a/installed-tests/debugger/continue.debugger
+++ b/installed-tests/debugger/continue.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
continue
cont
c
diff --git a/installed-tests/debugger/continue.debugger.js b/installed-tests/debugger/continue.debugger.js
index 2af2400d..4aed5fc2 100644
--- a/installed-tests/debugger/continue.debugger.js
+++ b/installed-tests/debugger/continue.debugger.js
@@ -1,2 +1,4 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
debugger;
debugger;
diff --git a/installed-tests/debugger/continue.debugger.output
b/installed-tests/debugger/continue.debugger.output
index 66d5c115..93d0bc0f 100644
--- a/installed-tests/debugger/continue.debugger.output
+++ b/installed-tests/debugger/continue.debugger.output
@@ -1,7 +1,9 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> continue
-Debugger statement, toplevel at continue.debugger.js:1:0
+Debugger statement, toplevel at continue.debugger.js:3:0
db> cont
-Debugger statement, toplevel at continue.debugger.js:2:0
+Debugger statement, toplevel at continue.debugger.js:4:0
db> c
Program exited with code 0
diff --git a/installed-tests/debugger/delete.debugger b/installed-tests/debugger/delete.debugger
index 9fc4560d..6213892e 100644
--- a/installed-tests/debugger/delete.debugger
+++ b/installed-tests/debugger/delete.debugger
@@ -1,7 +1,9 @@
-b 2
-b 3
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
b 4
b 5
+b 6
+b 7
# Check that breakpoint 4 still remains after deleting 1-3
delete 1
del 2
diff --git a/installed-tests/debugger/delete.debugger.js b/installed-tests/debugger/delete.debugger.js
index 9f6b2cd5..5ba7098d 100644
--- a/installed-tests/debugger/delete.debugger.js
+++ b/installed-tests/debugger/delete.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
print('1');
print('2');
print('3');
diff --git a/installed-tests/debugger/delete.debugger.output b/installed-tests/debugger/delete.debugger.output
index af6ee6d0..7b9f98f8 100644
--- a/installed-tests/debugger/delete.debugger.output
+++ b/installed-tests/debugger/delete.debugger.output
@@ -1,25 +1,27 @@
GJS debugger. Type "help" for help
-db> b 2
-Breakpoint 1 at delete.debugger.js:2:0
-db> b 3
-Breakpoint 2 at delete.debugger.js:3:0
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> b 4
-Breakpoint 3 at delete.debugger.js:4:0
+Breakpoint 1 at delete.debugger.js:4:0
db> b 5
-Breakpoint 4 at delete.debugger.js:5:0
+Breakpoint 2 at delete.debugger.js:5:0
+db> b 6
+Breakpoint 3 at delete.debugger.js:6:0
+db> b 7
+Breakpoint 4 at delete.debugger.js:7:0
db> # Check that breakpoint 4 still remains after deleting 1-3
db> delete 1
-Breakpoint 1 at delete.debugger.js:2:0 deleted
+Breakpoint 1 at delete.debugger.js:4:0 deleted
db> del 2
-Breakpoint 2 at delete.debugger.js:3:0 deleted
+Breakpoint 2 at delete.debugger.js:5:0 deleted
db> d 3
-Breakpoint 3 at delete.debugger.js:4:0 deleted
+Breakpoint 3 at delete.debugger.js:6:0 deleted
db> c
1
2
3
4
-Breakpoint 4, toplevel at delete.debugger.js:5:0
+Breakpoint 4, toplevel at delete.debugger.js:7:0
db> c
5
Program exited with code 0
diff --git a/installed-tests/debugger/detach.debugger b/installed-tests/debugger/detach.debugger
index 8ddea54f..4dc840ca 100644
--- a/installed-tests/debugger/detach.debugger
+++ b/installed-tests/debugger/detach.debugger
@@ -1 +1,3 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
detach
diff --git a/installed-tests/debugger/detach.debugger.js b/installed-tests/debugger/detach.debugger.js
index 10ed45c0..e600bf1c 100644
--- a/installed-tests/debugger/detach.debugger.js
+++ b/installed-tests/debugger/detach.debugger.js
@@ -1 +1,3 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
print('hi');
diff --git a/installed-tests/debugger/detach.debugger.output b/installed-tests/debugger/detach.debugger.output
index 94199c3b..b63deea2 100644
--- a/installed-tests/debugger/detach.debugger.output
+++ b/installed-tests/debugger/detach.debugger.output
@@ -1,4 +1,6 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> detach
hi
Program exited with code 0
diff --git a/installed-tests/debugger/down-up.debugger b/installed-tests/debugger/down-up.debugger
index 0b5a0e0d..54a2689b 100644
--- a/installed-tests/debugger/down-up.debugger
+++ b/installed-tests/debugger/down-up.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
c
down
up
diff --git a/installed-tests/debugger/down-up.debugger.js b/installed-tests/debugger/down-up.debugger.js
index 534099df..da896e04 100644
--- a/installed-tests/debugger/down-up.debugger.js
+++ b/installed-tests/debugger/down-up.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
function a() {
b();
}
diff --git a/installed-tests/debugger/down-up.debugger.output
b/installed-tests/debugger/down-up.debugger.output
index 3f2fe430..73f6191d 100644
--- a/installed-tests/debugger/down-up.debugger.output
+++ b/installed-tests/debugger/down-up.debugger.output
@@ -1,25 +1,27 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> c
-Debugger statement, d() at down-up.debugger.js:14:4
+Debugger statement, d() at down-up.debugger.js:16:4
db> down
Youngest frame selected; you cannot go down.
db> up
-#1 c() at down-up.debugger.js:10:4
+#1 c() at down-up.debugger.js:12:4
db> up
-#2 b() at down-up.debugger.js:6:4
+#2 b() at down-up.debugger.js:8:4
db> up
-#3 a() at down-up.debugger.js:2:4
+#3 a() at down-up.debugger.js:4:4
db> up
-#4 toplevel at down-up.debugger.js:17:0
+#4 toplevel at down-up.debugger.js:19:0
db> up
Initial frame selected; you cannot go up.
db> down
-#3 a() at down-up.debugger.js:2:4
+#3 a() at down-up.debugger.js:4:4
db> dn
-#2 b() at down-up.debugger.js:6:4
+#2 b() at down-up.debugger.js:8:4
db> dn
-#1 c() at down-up.debugger.js:10:4
+#1 c() at down-up.debugger.js:12:4
db> dn
-#0 d() at down-up.debugger.js:14:4
+#0 d() at down-up.debugger.js:16:4
db> c
Program exited with code 0
diff --git a/installed-tests/debugger/finish.debugger b/installed-tests/debugger/finish.debugger
index 344ebe51..1b3bcc60 100644
--- a/installed-tests/debugger/finish.debugger
+++ b/installed-tests/debugger/finish.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
c
finish
c
diff --git a/installed-tests/debugger/finish.debugger.js b/installed-tests/debugger/finish.debugger.js
index f8f8d010..a23943d5 100644
--- a/installed-tests/debugger/finish.debugger.js
+++ b/installed-tests/debugger/finish.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
function foo() {
print('Print me');
debugger;
diff --git a/installed-tests/debugger/finish.debugger.output b/installed-tests/debugger/finish.debugger.output
index 2253b973..c33532ab 100644
--- a/installed-tests/debugger/finish.debugger.output
+++ b/installed-tests/debugger/finish.debugger.output
@@ -1,21 +1,23 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> c
Print me
-Debugger statement, foo() at finish.debugger.js:3:4
+Debugger statement, foo() at finish.debugger.js:5:4
db> finish
-Run till exit from foo() at finish.debugger.js:3:4
+Run till exit from foo() at finish.debugger.js:5:4
Print me also
No value returned.
-toplevel at finish.debugger.js:14:0
+toplevel at finish.debugger.js:16:0
db> c
Print me
-Debugger statement, bar() at finish.debugger.js:9:4
+Debugger statement, bar() at finish.debugger.js:11:4
db> fin
-Run till exit from bar() at finish.debugger.js:9:4
+Run till exit from bar() at finish.debugger.js:11:4
Print me also
Value returned is:
$1 = 5
-toplevel at finish.debugger.js:15:0
+toplevel at finish.debugger.js:17:0
db> c
Print me at the end
Program exited with code 0
diff --git a/installed-tests/debugger/frame.debugger b/installed-tests/debugger/frame.debugger
index 8ef8ed3a..35b2117b 100644
--- a/installed-tests/debugger/frame.debugger
+++ b/installed-tests/debugger/frame.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
c
frame 2
f 1
diff --git a/installed-tests/debugger/frame.debugger.js b/installed-tests/debugger/frame.debugger.js
index 0b6509b8..80e676fc 100644
--- a/installed-tests/debugger/frame.debugger.js
+++ b/installed-tests/debugger/frame.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
function a() {
b();
}
diff --git a/installed-tests/debugger/frame.debugger.output b/installed-tests/debugger/frame.debugger.output
index e0853ae2..25f9df99 100644
--- a/installed-tests/debugger/frame.debugger.output
+++ b/installed-tests/debugger/frame.debugger.output
@@ -1,9 +1,11 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> c
-Debugger statement, b() at frame.debugger.js:6:4
+Debugger statement, b() at frame.debugger.js:8:4
db> frame 2
-#2 toplevel at frame.debugger.js:9:0
+#2 toplevel at frame.debugger.js:11:0
db> f 1
-#1 a() at frame.debugger.js:2:4
+#1 a() at frame.debugger.js:4:4
db> c
Program exited with code 0
diff --git a/installed-tests/debugger/keys.debugger b/installed-tests/debugger/keys.debugger
index 473b2122..57559a88 100644
--- a/installed-tests/debugger/keys.debugger
+++ b/installed-tests/debugger/keys.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
c
keys a
k a
diff --git a/installed-tests/debugger/keys.debugger.js b/installed-tests/debugger/keys.debugger.js
index e5f57b16..b7e2da1a 100644
--- a/installed-tests/debugger/keys.debugger.js
+++ b/installed-tests/debugger/keys.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
const a = {
foo: 1,
bar: null,
diff --git a/installed-tests/debugger/keys.debugger.output b/installed-tests/debugger/keys.debugger.output
index 42df6ae0..a82947e3 100644
--- a/installed-tests/debugger/keys.debugger.output
+++ b/installed-tests/debugger/keys.debugger.output
@@ -1,6 +1,8 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> c
-Debugger statement, toplevel at keys.debugger.js:6:0
+Debugger statement, toplevel at keys.debugger.js:8:0
db> keys a
$1 = [object Array]
[
diff --git a/installed-tests/debugger/next.debugger b/installed-tests/debugger/next.debugger
index beb49d5d..9f79b600 100644
--- a/installed-tests/debugger/next.debugger
+++ b/installed-tests/debugger/next.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
c
next
n
diff --git a/installed-tests/debugger/next.debugger.js b/installed-tests/debugger/next.debugger.js
index 4162f2b9..4208f9f5 100644
--- a/installed-tests/debugger/next.debugger.js
+++ b/installed-tests/debugger/next.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
function a() {
debugger;
b();
diff --git a/installed-tests/debugger/next.debugger.output b/installed-tests/debugger/next.debugger.output
index bb76e341..7b8836db 100644
--- a/installed-tests/debugger/next.debugger.output
+++ b/installed-tests/debugger/next.debugger.output
@@ -1,25 +1,27 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> c
-Debugger statement, a() at next.debugger.js:2:4
+Debugger statement, a() at next.debugger.js:4:4
db> next
-a() at next.debugger.js:2:4
+a() at next.debugger.js:4:4
db> n
-a() at next.debugger.js:3:4
+a() at next.debugger.js:5:4
A line in b
db> n
-a() at next.debugger.js:4:4
+a() at next.debugger.js:6:4
A line in a
db> n
-a() at next.debugger.js:5:0
+a() at next.debugger.js:7:0
No value returned.
db> n
-a() at next.debugger.js:5:0
-toplevel at next.debugger.js:11:0
+a() at next.debugger.js:7:0
+toplevel at next.debugger.js:13:0
db> n
-toplevel at next.debugger.js:11:0
+toplevel at next.debugger.js:13:0
db> n
-toplevel at next.debugger.js:12:0
+toplevel at next.debugger.js:14:0
No value returned.
db> n
-toplevel at next.debugger.js:12:0
+toplevel at next.debugger.js:14:0
Program exited with code 0
diff --git a/installed-tests/debugger/print.debugger b/installed-tests/debugger/print.debugger
index 2dd0387c..81498333 100644
--- a/installed-tests/debugger/print.debugger
+++ b/installed-tests/debugger/print.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
c
# Simple types
print a
diff --git a/installed-tests/debugger/print.debugger.js b/installed-tests/debugger/print.debugger.js
index 05ee0d47..989fa891 100644
--- a/installed-tests/debugger/print.debugger.js
+++ b/installed-tests/debugger/print.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
const {GObject} = imports.gi;
const a = undefined;
const b = null;
diff --git a/installed-tests/debugger/print.debugger.output b/installed-tests/debugger/print.debugger.output
index 36614f45..88cf96c9 100644
--- a/installed-tests/debugger/print.debugger.output
+++ b/installed-tests/debugger/print.debugger.output
@@ -1,6 +1,8 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> c
-Debugger statement, toplevel at print.debugger.js:15:0
+Debugger statement, toplevel at print.debugger.js:17:0
db> # Simple types
db> print a
$1 = undefined
diff --git a/installed-tests/debugger/quit.debugger b/installed-tests/debugger/quit.debugger
index bca70f35..983c94a0 100644
--- a/installed-tests/debugger/quit.debugger
+++ b/installed-tests/debugger/quit.debugger
@@ -1 +1,3 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
q
diff --git a/installed-tests/debugger/quit.debugger.js b/installed-tests/debugger/quit.debugger.js
index 10ed45c0..e600bf1c 100644
--- a/installed-tests/debugger/quit.debugger.js
+++ b/installed-tests/debugger/quit.debugger.js
@@ -1 +1,3 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
print('hi');
diff --git a/installed-tests/debugger/quit.debugger.output b/installed-tests/debugger/quit.debugger.output
index 7d691b2f..10992597 100644
--- a/installed-tests/debugger/quit.debugger.output
+++ b/installed-tests/debugger/quit.debugger.output
@@ -1,3 +1,5 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> q
Program exited with code 0
diff --git a/installed-tests/debugger/return.debugger b/installed-tests/debugger/return.debugger
index 4613817d..162e4d1f 100644
--- a/installed-tests/debugger/return.debugger
+++ b/installed-tests/debugger/return.debugger
@@ -1,6 +1,8 @@
-b 2
-b 6
-b 10
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
+b 4
+b 8
+b 12
c
return
ret 5
diff --git a/installed-tests/debugger/return.debugger.js b/installed-tests/debugger/return.debugger.js
index 4133a185..20b9d9ca 100644
--- a/installed-tests/debugger/return.debugger.js
+++ b/installed-tests/debugger/return.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
function func1() {
return 1;
}
diff --git a/installed-tests/debugger/return.debugger.output b/installed-tests/debugger/return.debugger.output
index 7d7ee44e..0b0e6ba3 100644
--- a/installed-tests/debugger/return.debugger.output
+++ b/installed-tests/debugger/return.debugger.output
@@ -1,18 +1,20 @@
GJS debugger. Type "help" for help
-db> b 2
-Breakpoint 1 at return.debugger.js:2:4
-db> b 6
-Breakpoint 2 at return.debugger.js:6:4
-db> b 10
-Breakpoint 3 at return.debugger.js:10:4
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
+db> b 4
+Breakpoint 1 at return.debugger.js:4:4
+db> b 8
+Breakpoint 2 at return.debugger.js:8:4
+db> b 12
+Breakpoint 3 at return.debugger.js:12:4
db> c
-Breakpoint 1, func1() at return.debugger.js:2:4
+Breakpoint 1, func1() at return.debugger.js:4:4
db> return
undefined
-Breakpoint 2, func2() at return.debugger.js:6:4
+Breakpoint 2, func2() at return.debugger.js:8:4
db> ret 5
5
-Breakpoint 3, func3() at return.debugger.js:10:4
+Breakpoint 3, func3() at return.debugger.js:12:4
db> ret `${4 * 10 + 2} is the answer`
42 is the answer
Program exited with code 0
diff --git a/installed-tests/debugger/set.debugger b/installed-tests/debugger/set.debugger
index a8331d73..436ce8d1 100644
--- a/installed-tests/debugger/set.debugger
+++ b/installed-tests/debugger/set.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
# Currently the only option is "pretty" for pretty-printing. Set doesn't yet
# allow setting variables in the program.
c
diff --git a/installed-tests/debugger/set.debugger.js b/installed-tests/debugger/set.debugger.js
index e2a5f5ae..529a1b47 100644
--- a/installed-tests/debugger/set.debugger.js
+++ b/installed-tests/debugger/set.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
const a = {};
debugger;
void a;
diff --git a/installed-tests/debugger/set.debugger.output b/installed-tests/debugger/set.debugger.output
index 93d95fea..613071d1 100644
--- a/installed-tests/debugger/set.debugger.output
+++ b/installed-tests/debugger/set.debugger.output
@@ -1,8 +1,10 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> # Currently the only option is "pretty" for pretty-printing. Set doesn't yet
db> # allow setting variables in the program.
db> c
-Debugger statement, toplevel at set.debugger.js:2:0
+Debugger statement, toplevel at set.debugger.js:4:0
db> p a
$1 = [object Object]
{}
diff --git a/installed-tests/debugger/step.debugger b/installed-tests/debugger/step.debugger
index df197150..9dc8b614 100644
--- a/installed-tests/debugger/step.debugger
+++ b/installed-tests/debugger/step.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
s
s
s
diff --git a/installed-tests/debugger/step.debugger.js b/installed-tests/debugger/step.debugger.js
index 454406ee..7450d2ea 100644
--- a/installed-tests/debugger/step.debugger.js
+++ b/installed-tests/debugger/step.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
function a() {
b();
print('A line in a');
diff --git a/installed-tests/debugger/step.debugger.output b/installed-tests/debugger/step.debugger.output
index 806e5e9f..47da8965 100644
--- a/installed-tests/debugger/step.debugger.output
+++ b/installed-tests/debugger/step.debugger.output
@@ -1,35 +1,37 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> s
-toplevel at step.debugger.js:10:0
-entered frame: a() at step.debugger.js:2:4
+toplevel at step.debugger.js:12:0
+entered frame: a() at step.debugger.js:4:4
db> s
-a() at step.debugger.js:2:4
-entered frame: b() at step.debugger.js:7:4
+a() at step.debugger.js:4:4
+entered frame: b() at step.debugger.js:9:4
db> s
-b() at step.debugger.js:7:4
+b() at step.debugger.js:9:4
A line in b
db> s
-b() at step.debugger.js:8:0
+b() at step.debugger.js:10:0
No value returned.
db> s
-b() at step.debugger.js:8:0
-a() at step.debugger.js:2:4
+b() at step.debugger.js:10:0
+a() at step.debugger.js:4:4
db> s
-a() at step.debugger.js:2:4
+a() at step.debugger.js:4:4
db> s
-a() at step.debugger.js:3:4
+a() at step.debugger.js:5:4
A line in a
db> s
-a() at step.debugger.js:4:0
+a() at step.debugger.js:6:0
No value returned.
db> s
-a() at step.debugger.js:4:0
-toplevel at step.debugger.js:10:0
+a() at step.debugger.js:6:0
+toplevel at step.debugger.js:12:0
db> s
-toplevel at step.debugger.js:10:0
+toplevel at step.debugger.js:12:0
db> s
-toplevel at step.debugger.js:11:0
+toplevel at step.debugger.js:13:0
No value returned.
db> s
-toplevel at step.debugger.js:11:0
+toplevel at step.debugger.js:13:0
Program exited with code 0
diff --git a/installed-tests/debugger/throw.debugger b/installed-tests/debugger/throw.debugger
index 0c74e674..0130698a 100644
--- a/installed-tests/debugger/throw.debugger
+++ b/installed-tests/debugger/throw.debugger
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
c
throw 'foobar' + 3.14;
fin
diff --git a/installed-tests/debugger/throw.debugger.js b/installed-tests/debugger/throw.debugger.js
index 2ff94439..80ee28c6 100644
--- a/installed-tests/debugger/throw.debugger.js
+++ b/installed-tests/debugger/throw.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
function a() {
debugger;
return 5;
diff --git a/installed-tests/debugger/throw.debugger.output b/installed-tests/debugger/throw.debugger.output
index 248827d6..4e9b5adc 100644
--- a/installed-tests/debugger/throw.debugger.output
+++ b/installed-tests/debugger/throw.debugger.output
@@ -1,18 +1,20 @@
GJS debugger. Type "help" for help
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
db> c
-Debugger statement, a() at throw.debugger.js:2:4
+Debugger statement, a() at throw.debugger.js:4:4
db> throw 'foobar' + 3.14;
Unwinding due to exception. (Type 'c' to continue unwinding.)
-#0 a() at throw.debugger.js:2:4
+#0 a() at throw.debugger.js:4:4
Exception value is:
$1 = "foobar3.14"
db> fin
-Run till exit from a() at throw.debugger.js:2:4
+Run till exit from a() at throw.debugger.js:4:4
Frame terminated by exception:
$2 = "foobar3.14"
(To rethrow it, type 'throw'.)
Unwinding due to exception. (Type 'c' to continue unwinding.)
-#0 toplevel at throw.debugger.js:7:4
+#0 toplevel at throw.debugger.js:9:4
Exception value is:
$3 = "foobar3.14"
db> throw
diff --git a/installed-tests/debugger/until.debugger b/installed-tests/debugger/until.debugger
index fb077881..1b503bd7 100644
--- a/installed-tests/debugger/until.debugger
+++ b/installed-tests/debugger/until.debugger
@@ -1,4 +1,6 @@
-until 3
-upto 5
-u 7
+# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
+until 5
+upto 7
+u 9
c
diff --git a/installed-tests/debugger/until.debugger.js b/installed-tests/debugger/until.debugger.js
index 8a7b0671..c167dc28 100644
--- a/installed-tests/debugger/until.debugger.js
+++ b/installed-tests/debugger/until.debugger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
print('1');
print('2');
print('3');
diff --git a/installed-tests/debugger/until.debugger.output b/installed-tests/debugger/until.debugger.output
index b2a7c4ce..811362ae 100644
--- a/installed-tests/debugger/until.debugger.output
+++ b/installed-tests/debugger/until.debugger.output
@@ -1,17 +1,19 @@
GJS debugger. Type "help" for help
-db> until 3
-toplevel at until.debugger.js:1:0
+db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip chimento gmail com>
+db> until 5
+toplevel at until.debugger.js:3:0
1
2
-db> upto 5
-toplevel at until.debugger.js:3:0
+db> upto 7
+toplevel at until.debugger.js:5:0
3
-entered frame: <anonymous>() at until.debugger.js:5:4
-db> u 7
-<anonymous>() at until.debugger.js:5:4
+entered frame: <anonymous>() at until.debugger.js:7:4
+db> u 9
+<anonymous>() at until.debugger.js:7:4
4
No value returned.
-toplevel at until.debugger.js:7:0
+toplevel at until.debugger.js:9:0
db> c
5
Program exited with code 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]