Skip to content

Commit 85c9b41

Browse files
committed
Modernize debian packaging
- Depend on the .NET SDK 5.0 instead of 2.2 - Run the Python 2 tests using `python2` instead of just `python`
1 parent 67f4453 commit 85c9b41

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ Section: devel
33
Priority: optional
44
Maintainer: Christian Biesinger <cbiesinger@google.com>
55
Uploaders: Sanket Joshi <sajos@microsoft.com>
6-
Build-Depends: debhelper (>= 10), dotnet-sdk-2.2, dejagnu, gdb
6+
Build-Depends: debhelper (>= 10), dotnet-sdk-5.0, dejagnu, gdb
77
Standards-Version: 4.1.2
88
Homepage: https://github.com/MicrosoftEdge/JsDbg
99
Vcs-Git: https://github.com/MicrosoftEdge/JsDbg
1010
Vcs-Browser: https://github.com/MicrosoftEdge/JsDbg
1111

1212
Package: jsdbg-gdb
1313
Architecture: any
14-
Depends: ${misc:Depends}, ${shlibs:Depends}, dotnet-runtime-2.2
14+
Depends: ${misc:Depends}, ${shlibs:Depends}, dotnet-runtime-5.0
1515
Recommends: gdb
1616
Replaces: jsdbg
1717
Breaks: jsdbg

server/JsDbg.Gdb/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ check: bin/test_program
3434
@# so if $(RESTOREFLAGS) is set, just skip this test.
3535
if test x"$(RESTOREFLAGS)" = x; then cd ../JsDbg.Stdio.Tests && $(DOTNET) restore $(RESTOREFLAGS) && $(DOTNET) test --no-restore; fi
3636
cd testsuite && runtest
37-
python ../JsDbg.Stdio/JsDbgBase_test.py
37+
python2 ../JsDbg.Stdio/JsDbgBase_test.py
3838
python3 ../JsDbg.Stdio/JsDbgBase_test.py
39-
python JsDbg_test.py
39+
python2 JsDbg_test.py
4040
python3 JsDbg_test.py
4141

4242
# We don't want users of the tarball to require a dotnet install, so

0 commit comments

Comments
 (0)