GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Better manual PYTHONPATH for tests. · iuliux/java2python@90fbe83

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc
    • tests.md
  • test
    • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/tests.md‎

Copy file name to clipboardExpand all lines: doc/tests.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ Notice that there isn't a suffix to the file name; you don't run `make
4141
Class02.java`, just `make Class02`. If you supply an extension, nothing will
4242
happen and the test won't run.
4343

44-
The `test` directory contains two helper scripts used by the makefile that you
45-
can also use during development. The first is [runjava][], which runs the
46-
Java compiler and the Java VM with the indicated file. Use it like this:
44+
The `test` directory contains two helper scripts that you can use during
45+
development. The first is [runjava][], which runs the Java compiler and the
46+
Java VM with the indicated file. Use it like this:
4747

4848
```bash
4949
$ ./runjava Class01.java
Collapse file

‎test/Makefile‎

Copy file name to clipboardExpand all lines: test/Makefile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ j2py = ../bin/j2py
77
python_files := $(addsuffix .py, $(notdir $(basename $(wildcard *.java))))
88
test_targets := $(sort $(notdir $(basename $(wildcard *.java))))
99

10-
export PYTHONPATH := $(PYTHONPATH):.
10+
export PYTHONPATH := $(PYTHONPATH):.:..
1111

1212

1313
.PHONY: all clean

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.