Skip to content

Commit

Permalink
Fix paths for folders that have spaces in the name (#145)
Browse files Browse the repository at this point in the history
Tests were failing when using Parallels shared folders.
  • Loading branch information
philburk committed Jan 8, 2023
1 parent 41d1588 commit 3956a7f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions platforms/unix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ SRCDIR = ../..
PFORTHDIR = $(SRCDIR)
CSRCDIR = $(PFORTHDIR)/csrc
FTHDIR = $(PFORTHDIR)/fth
UNIXDIR = platforms/unix

PFDICAPP = pforth
PFORTHDIC = pforth.dic
PFDICDAT = pfdicdat.h
PFORTHAPP = pforth_standalone

# This is needed to get pForth to build on Snow Leopard and other 64 bit platforms.
# Set this parameter to -m32 if you want to compile a 32-bit binary.
WIDTHOPT=

FULL_WARNINGS = \
Expand Down Expand Up @@ -134,12 +135,12 @@ help:
@echo " It allows pForth to work as a standalone image that does not need to load a dictionary file."

test: $(PFORTHAPP)
wd=$$(pwd); (cd $(FTHDIR); $${wd}/$(PFORTHAPP) -q t_corex.fth)
wd=$$(pwd); (cd $(FTHDIR); $${wd}/$(PFORTHAPP) -q t_strings.fth)
wd=$$(pwd); (cd $(FTHDIR); $${wd}/$(PFORTHAPP) -q t_locals.fth)
wd=$$(pwd); (cd $(FTHDIR); $${wd}/$(PFORTHAPP) -q t_alloc.fth)
wd=$$(pwd); (cd $(FTHDIR); $${wd}/$(PFORTHAPP) -q t_floats.fth)
wd=$$(pwd); (cd $(FTHDIR); $${wd}/$(PFORTHAPP) -q t_file.fth)
cd $(FTHDIR) && ../$(UNIXDIR)/$(PFORTHAPP) -q t_corex.fth
cd $(FTHDIR) && ../$(UNIXDIR)/$(PFORTHAPP) -q t_strings.fth
cd $(FTHDIR) && ../$(UNIXDIR)/$(PFORTHAPP) -q t_locals.fth
cd $(FTHDIR) && ../$(UNIXDIR)/$(PFORTHAPP) -q t_alloc.fth
cd $(FTHDIR) && ../$(UNIXDIR)/$(PFORTHAPP) -q t_floats.fth
cd $(FTHDIR) && ../$(UNIXDIR)/$(PFORTHAPP) -q t_file.fth
@echo "PForth Tests PASSED"

clean:
Expand Down

0 comments on commit 3956a7f

Please sign in to comment.